Phaser API Documentation

  Version: 
<readonly> onWorldBounds: boolean

Description:

Whether the simulation emits a worldbounds event when this StaticBody collides with the world boundary. Always false for a Static Body. (Static Bodies never collide with the world boundary and never trigger a worldbounds event.)

Type:
boolean
Default: false
Since: 3.0.0