Skip to main content

Get Axis

Menu: Actions/Buttons

Purpose

Reads the current Vector2 value of an input axis and exposes the result on the node outputs. If the axis does not exist or the name is empty, the node returns float2(0, 0).

Inputs

NameTypeDefaultDetails
Axis NameTEXTaxisnameName of the registered axis to read.

Outputs

NameTypeDefaultDetails
AxisFLOAT2-Current axis value as a Vector2.