Distance: Difference between revisions
-u ndefined- (talk | contribs) m (Add trivia) |
-u ndefined- (talk | contribs) m (Add an example usage for the block) |
||
Line 10: | Line 10: | ||
[[File:Distance example.jpg|frameless|center|Example]] | [[File:Distance example.jpg|frameless|center|Example]] | ||
== Example == | |||
A notable use case for Distance is [[tap to pick closest object|picking the closest object]]. | |||
== Trivia == | == Trivia == |
Latest revision as of 12:58, 13 June 2025
Distance
Type | Script block |
Collider | None |
Folder | Math |
Ports | |
---|---|
Inputs | Vector Vector |
Outputs | Distance |
Outputs the distance between two vectors.

Example
A notable use case for Distance is picking the closest object.
Trivia
The old Distance script block used to appear like this:
