Phaser API Documentation

  Version: 
checkWorldBounds()

Description:

Checks for collisions between this Body and the world boundary and separates them.

Returns:
Description:

True if this Body is colliding with the world boundary.

Type:
  • boolean
Since: 3.0.0