Vector 2

Two numbers with decimals, for positions and sizes in 2D.

A Vector 2 holds two numbers with decimals, usually the X and Y of a position, an offset or a size on a flat surface such as a texture. Each of the two is a field of its own that works like a Float: type a value, or drag in the field with the middle mouse button.

Each component can be connected on its own. A single number connected to the whole vector fills both components. A Vector 3 or Vector 4 fills X and Y and its remaining numbers are dropped. A single component can also be linked to a single component, such as the Y of one vector into the X of another.

Keywords: xy, position, size, offset, uv, vector