Docs

Vec3 Length

Magnitude of a 3D vector.

Vec3 Length node

The Vec3 Length node

When to use it

Magnitude of a 3D vector.

Length of position minus centre, minus a radius, is a sphere, and the Sphere primitive already computes that for you. Come here when you want the distance itself as a control value.

Pins

Pin Type Description
X Number X component of the input vector.
Y Number Y component of the input vector.
Z Number Z component of the input vector.
Pin Type Description
Length Number How long the vector is.