Coordinate

From Legacy Roblox Wiki
Revision as of 01:41, 27 April 2023 by Realjame (talk | contribs) (Text replacement - "</SyntaxHighlight>" to "</syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

A Coordinate is a location on a graph, denoted by a point. In order to describe where something is in Roblox you need to have 3 coordinates, one for the X axis, one for the Y axis, and one for the Z axis.

These are normally arranged into a Vector, a combination of an X, Y and Z coordinate.

You can see this by putting into the Command Bar

print(Vector3.new(1, 2, 3))</syntaxhighlight>

This results in:

1 2 3</syntaxhighlight>

Which is the Vector of the coordinates.


See Also