Distance: Difference between revisions
(Updated the page) |
-u ndefined- (talk | contribs) m (Add an example usage for the block) |
||
(One intermediate revision by the same user not shown) | |||
Line 11: | Line 11: | ||
[[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 == | |||
The old Distance script block used to appear like this: | |||
{{Image|Distance_(old).png}} | |||
[[Category:Blocks]] | [[Category:Blocks]] |
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:
