Factorio Prototype Docs Version 1.1.89

Vector :: {double, double} Example code

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 east, positive y goes south. See also: Runtime Vector.

Examples

vector = {0, 12}
right = {1.0, 0.5}

Type used in

Prototypes

Types

>|