Factorio Runtime DocsVersion 2.1.8

Vector - Runtime Docs

Vector :: table or {float, float}

A vector is a two-element array or dictionary containing the x and y components. The game will always provide the array format. Positive x goes east, positive y goes south.

Table fields

x :: float
y :: float

Example

right = {1.0, 0.0}
Fulltext search

Classes

Concepts

Events

Defines

Fulltext search for