Phaser API Documentation

  Version: 
onCollide: boolean

Description:

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

Type:
boolean
Default: false
Since: 3.0.0