Skip to main content
Memebr of ML.SDK.UserInput
Property

Vector2 UserInput.LeftControl

Vector2 LeftControl { get;  }

Summary

The left primary control vector2. In some controllers this is accomplished by trackpad, in others by a joystick. Returns values from keyboard buttons [W,S,A,D] while the client is in desktop mode.

The x-axis represents the left-right movement of the joystick and the y-axis up-down movement. The values range from -1 to 1 and the center is zero for both. For the horizontal axis, the left is positive, and the right is negative. For vertical axis, the up is positive and down is negative.