Home
News
Learn
Download
Examples
Community
Plugins
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Physics.Arcade.Body
onCollide: boolean
Description:
Whether the simulation emits a
collide
event when this Body collides with another.
Type:
boolean
Default:
false
Since:
3.0.0
Source:
src/physics/arcade/Body.js
(Line
425
)
Possible examples