Distance
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:
