IS_NUI_FOCUSED
Returns the current NUI focus state previously set with SET_NUI_FOCUS.
Signature
BOOL IS_NUI_FOCUSED();Returns BOOL — True or false.
Description
Returns the current NUI focus state previously set with SET_NUI_FOCUS.
Usage
local retval = IsNuiFocused()
-- always works, by hash
local retval = Citizen.InvokeNative(0x98545e6d, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsNuiFocused();
// by hash
const retval = Citizen.invokeNative('0x98545e6d', Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x98545e6d);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.