Native referenceFiveM

_SET_CURSOR_LOCATION

0xFC695459D4D0E219 PAD
FUNCTION SIGNATURE
BOOL _SET_CURSOR_LOCATION(float x, float y);
Property Value
Native Name _SET_CURSOR_LOCATION
Hash 0xFC695459D4D0E219
Return Type BOOL
Parameters x (float), y (float)

Description: Sets the position of the mouse cursor within the current UI context (e.g., NUI menu or pause menu).
Coordinates must be in the range 0.0 to 1.0, where (0.5, 0.5) represents the center of the screen.

Parameters

  • x (float) — Horizontal position (0.0 = left, 1.0 = right)
  • y (float) — Vertical position (0.0 = top, 1.0 = bottom)
Back to PAD