Sets the position of the virtual joystick in screen coordinates.
procedure SetPosition(const P: TAgkPoint); overload;
You can use TAgkApplication.VirtualWidth and TAgkApplication.VirtualHeight to find the current bounds of the screen. The joystick will be centered on the given X and Y position. Moving a virtual joystick whilst it is in use will alter the current X and Y values being returned.
Made with Doc-O-Matic® Express