Skip to main content

GET_POSITION_OF_ANALOGUE_STICKS

Game.GetPositionOfAnalogueSticksHash0x4F7F4FAE
Usage
local ReturnLeftX, ReturnLeftY, ReturnRightX, ReturnRightY = Game.GetPositionOfAnalogueSticks(PadNumber)

Gets the position of analogue stickes between -128 and 128. A value of 0 means that the stick is in the central position.

Parameters

  • PadNumberintegerint

Returns

  • ReturnLeftXintegerint*
  • ReturnLeftYintegerint*
  • ReturnRightXintegerint*
  • ReturnRightYintegerint*
Original declaration
// 0x4F7F4FAE
void GET_POSITION_OF_ANALOGUE_STICKS(int PadNumber, int* ReturnLeftX, int* ReturnLeftY, int* ReturnRightX, int* ReturnRightY);