Phaser API Documentation

  Version: 
onCollide: boolean

Description:

Whether the simulation emits a collide event when this StaticBody collides with another.

Type:
boolean
Default: false
Since: 3.0.0