Extract XY

Obtains the X or Y component of a vec2.

The inverse of this node is Combine Vec2, which composes a vec2 from its X and Y components.

Interface

Inputs

ParameterDetailsPossible Types
Vector

Primary Input

Vec2[]
Vec2
Axis

Default: X

XY[]
XY

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

f64
f64[]