Phaser API Documentation

  Version: 
onWorldBounds: boolean

Description:

Whether the simulation emits a worldbounds event when this Body collides with the world boundary (and collideWorldBounds is also true).

Type:
boolean
Default: false
Since: 3.0.0