Skip to content

API > UserInput > LeftControl


UserInput.LeftControl⚓︎

Read-Only

Read-only Property This property is Read-Only

Name Type
LeftControl Vector2

Description⚓︎

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.

Extra Detail⚓︎

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.