Loading...

Logo
DocumentationBehaviorsInteractionJoystick Left
Interaction

Joystick Left

Last updated February 21, 2017

Description

The Joystick Left behavior is an advanced behavior that will output the X value of the joystick position, and trigger an event when the joystick is moved left. You can use this to create advanced input controls that go beyond the built in "Joystick Controlled" behavior.

This behavior will Trigger an event repeatedly while you're moving the joystick in the left position.

Properties

There are no properties for this behavior

Outputs

X

This value indicates how much the joystick has moved in the X axis. Negative numbers indicate the joystick is moving left, positive indicate right.

Examples

You can use this behavior if the built in Joystick Controlled behavior does not suite your needs. You can output the X positions, and use the other joystick behaviors to move your object or add other gameplay elements.

Download Example Project

Joystick Controlled

JoystickLeftReference.gif