Types/vector

From Official Factorio Wiki
Revision as of 12:47, 16 March 2020 by Bilka (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

A vector is a two-element array containing the x and y components. Unlike Positions, vectors don't use the x, y keys. Positive x goes towards east, positive y goes towards south.

Example:

vector = {0, 12}

Example:

right = {1.0, 0.5}

See also