Vector3

Three numbers, X, Y and Z, used for positions, sizes and directions.

Think of it as Walking directions: so many studs along X, up and along Z.

A Vector3 can mean a place (a point measured from the origin) or a walk (an offset between two places). Subtracting two positions gives the offset; .Magnitude is its length and .Unit its direction with length 1. Y is up in Roblox.

Where the picture breaks

A Vector3 also stores a place: the same three numbers can be a walk from anywhere or a point measured from the origin, and only context says which.

A Vector3 is three numbers. As an offset it is a displacement; as a position it is the displacement from the origin. Subtracting positions gives the offset, and adding an offset to a position gives a new position.

See it with the rest of the analogy cast

Official reference: create.roblox.com

Related terms