Phaser API Documentation

  Version: 
collideWorldBounds: boolean

Description:

Whether this Body interacts with the world boundary.

Type:
boolean
Default: false
Since: 3.0.0