Skip to main content

Get Farthest

Finds the element in Targets that is farthest in space to Origin, and returns it, its index in the list, and its distance to Origin.

InputsOutputs
Any (rec room object, player, vector3) | OriginAny (rec room object, player, vector3) | Farthest
List<Any (rec room object, player, vector3)> | Targetsint | Farthest Index
float | Distance
Properties
Is beta required?No
Is chip a trolling risk?No
Is chip a role assignment risk?No
Chip UUID8e17bef6-59ea-4ff0-999a-a158800b22da
Room availabilityAvailable everywhere

Uses

None so far!

Tips

None so far!

Issues

None so far!