Skip to main content

Entity::isOnScreen

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

```js entity.isOnScreen(); ```

Required Arguments

Return value

  • Boolean

Example

```js // todo ```

See also