Get Horizontal Axis

Description #

Returns a value between -1 and 1 depending on the input from the right-left arrows or right-left joystick in mobile play mode.
-1 means all the way to the left, 1 means all the way to the right and 0 means neutral.

Time Based #

Not a time-based block (won’t take time to finish execution).

Inputs #

This block has only Sequential Input.

Outputs #

This block has 2 Outputs:

  • Sequential Output.
  • Axis: The float value between -1 and 1.

Powered by BetterDocs