Vector used for 2D math using integer coordinates. 2-element structure that can be used to represent positions in 2D space or any other pair of numeric values. It uses integer coordinates. https://docs.godotengine.org/en/latest/tutorials/math/index.html Constructs a new [Vector2i] from the given [code]x[/code] and [code]y[/code]. Constructs a new [Vector2i] from [Vector2]. The floating point coordinates will be truncated. Returns a new vector with all components in absolute values (i.e. positive). Returns the ratio of [member x] to [member y]. Returns the vector with each component set to one or negative one, depending on the signs of the components. The vector's X component. Also accessible by using the index position [code][0][/code]. The vector's Y component. Also accessible by using the index position [code][1][/code]. Enumerated value for the X axis. Enumerated value for the Y axis. Zero vector. One vector. Left unit vector. Right unit vector. Up unit vector. Down unit vector.