EntityClient

isEntityVisible

IS_ENTITY_VISIBLE0x47D6F43D77935C75

The GTA V native IS_ENTITY_VISIBLE of the ENTITY namespace, as LS:MP client scripts call it: the global function isEntityVisible, in JavaScript and in Lua.

SignatureJavaScript
isEntityVisible(entity: Entity): boolean
SignatureLua
isEntityVisible(entity: Entity): boolean

Usage

JavaScript
const result = isEntityVisible(entity);
Lua
local result = isEntityVisible(entity)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Entity ENTITY
In the game
BOOL IS_ENTITY_VISIBLE(Entity entity)
Hash
0x47D6F43D77935C75

Open in the interactive natives reference