The Lab
INTERACTION native

_POINTER_IS_LEFT_BUTTON_JUST_RELEASED

returns BOOL0 paramsbuild 1207

Returns true on the frame the left mouse button is released.

Signature

C
BOOL _POINTER_IS_LEFT_BUTTON_JUST_RELEASED(); // 0xF7F51A57349739F2 b1207

Parameters

This native takes no parameters.

Facts

Facts about _POINTER_IS_LEFT_BUTTON_JUST_RELEASED
Name
_POINTER_IS_LEFT_BUTTON_JUST_RELEASED
Hash
0xF7F51A57349739F2
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xF7F51A57349739F2) -- _POINTER_IS_LEFT_BUTTON_JUST_RELEASED
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xF7F51A57349739F2", // _POINTER_IS_LEFT_BUTTON_JUST_RELEASED
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xF7F51A57349739F2); // _POINTER_IS_LEFT_BUTTON_JUST_RELEASED
All INTERACTION natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.