AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkVirtualJoystick.X Property

Returns the X value of the virtual joystick.

Syntax
Pascal
property X: Single;

This will be in the range -1.0 to 1.0 with 0 being centered. When the user is not interacting with the virtual joystick this will return 0.

Copyright (c) 2012. All rights reserved.