{"hash":"0xBDBA226F","ns":"CFX","name":"GET_NUI_CURSOR_POSITION","slug":"GET_NUI_CURSOR_POSITION","official":true,"named":true,"luaName":"GetNuiCursorPosition","game":"cfx","apiset":"client","returnType":"void","params":[{"name":"x","type":"int*"},{"name":"y","type":"int*"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":1,"url":"https://natives.borderlinerp.com/natives/CFX/GET_NUI_CURSOR_POSITION","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/GET_NUI_CURSOR_POSITION.md","snippets":{"lua":"local x, y = GetNuiCursorPosition()","luaInvoke":"local x, y = Citizen.InvokeNative(0xbdba226f, Citizen.PointerValueInt(), Citizen.PointerValueInt())","js":"const [x, y] = GetNuiCursorPosition();","jsInvoke":"const [x, y] = Citizen.invokeNative('0xbdba226f', Citizen.pointerValueInt(), Citizen.pointerValueInt());","csharp":"var x = new OutputArgument();\nvar y = new OutputArgument();\nFunction.Call((Hash)0xbdba226f, x, y);\n// x.GetResult<int>()\n// y.GetResult<int>()","notes":["Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order."]}}