Entity::isOnScreen: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
Line 10: Line 10:
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Entity_function_c}}
{{Entity_definition_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 18:11, 1 May 2024

Returns true if the entity is in between the minimum and maximum values for the 2d screen coords.
This means that it will return true even if the entity is behind a wall for example, as long as you're looking at their location.
Chipping

Syntax

entity.isOnScreen();

Required Arguments

Return value

  • Boolean

Example

// todo

See also