IsEntityOnScreen — FiveM Natives
0xE659E47AF827484B · ENTITY · all
Determines whether the screen position of the specified entity is within the 2D bounds of the screen. This native will not check if the entity is not visible due to being occluded (for example, behind a wall). To check if a entity is on screen and is not occluded, use IS_ENTITY_OCCLUDED.
Parameters
| Name | Type | Description |
|---|---|---|
| entity | Entity | The entity to check. |
Returns
BOOL