Skip to main content

Entity::hasCollidedWithAnything

Called on tick. Tested with vehicles, returns true whenever the vehicle is touching any entity.

Note: for vehicles, the wheels can touch the ground and it will still return false, but if the body of the vehicle touches the ground, it will return true.

Syntax

```js entity.hasCollidedWithAnything(); ```

Required Arguments

Return value

  • Boolean

Example

```js // todo ```

See also