Tile - YLocalPlayer - Get Secondary Horizontal Input – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

Get Secondary Horizontal Input()

YlandsTile-1190.png

static getSecondaryHorizontalInput(): number;

Returns

number

Availability

Client, Single Player

Description

Returns unnormalized secondary horizontal input.

Notes

  • Mouse - X/Y movement, values 0 to (theoretical) infinity
  • Gamepad - left stick, values 0 to 1
  • Mobile - X/Y screen finger movement, values 0 to (theoretical) infinity