Body.hasChanged

Returns true if the given tick is lower than the tick the body was last changed.

Kind: Function

Environments: Game

Game

body:hasChanged( tick )

Open the full Game reference

Parameters:

Name Type Description
body Body The body.
tick integer The tick.

Returns:

Type Description
boolean Returns true if the body has been changed.