ObjectClient

isObjectVisible

IS_OBJECT_VISIBLE0x8B32ACE6326A7546

The GTA V native IS_OBJECT_VISIBLE of the OBJECT namespace, as LS:MP client scripts call it: the global function isObjectVisible, in JavaScript and in Lua.

SignatureJavaScript
isObjectVisible(object: Object): boolean
SignatureLua
isObjectVisible(object: Object): boolean

Usage

JavaScript
const result = isObjectVisible(object);
Lua
local result = isObjectVisible(object)

Parameters

ParameterTypeJavaScriptLua
objectObjectnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Object OBJECT
In the game
BOOL IS_OBJECT_VISIBLE(Object object)
Hash
0x8B32ACE6326A7546

Open in the interactive natives reference