Skip to main content

GET_MOUSE_POSITION

Game.GetMousePositionHash0x0ECB2DEE
Usage
local x, y = Game.GetMousePosition()

Gets the x, y position of the mouse pointer on the screen. Starting top left 0.0 to bottom right 1.0

Parameters

None

Returns

  • xnumberfloat*
  • ynumberfloat*
Original declaration
// 0x0ECB2DEE
void GET_MOUSE_POSITION(float* x, float* y);