RedM Natives

_POINTER_IS_LEFT_BUTTON_HELD

Returns true if player is holding LMB while cursor is active

Hash0x61CAE9D1FD055E44
Runtime namePointerIsLeftButtonHeld
NamespaceINTERACTION
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _POINTER_IS_LEFT_BUTTON_HELD();

Returns BOOL

Description

Returns true if player is holding LMB while cursor is active
_PI* - _PO*

Usage

Lua
local retval = PointerIsLeftButtonHeld()

-- always works, by hash
local retval = Citizen.InvokeNative(0x61CAE9D1FD055E44, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = PointerIsLeftButtonHeld();

// by hash
const retval = Citizen.invokeNative('0x61CAE9D1FD055E44', Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x61CAE9D1FD055E44);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.