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