name | type | arguments | description |
---|---|---|---|
object1 | Phaser.Types.Physics.Arcade.ArcadeColliderType |
The first object or array of objects to check. |
|
object2 | Phaser.Types.Physics.Arcade.ArcadeColliderType | <optional> |
The second object or array of objects to check, or |
overlapCallback | Phaser.Types.Physics.Arcade.ArcadePhysicsCallback | <optional> |
An optional callback function that is called if the objects overlap. |
processCallback | Phaser.Types.Physics.Arcade.ArcadePhysicsCallback | <optional> |
An optional callback function that lets you perform additional checks against the two objects if they overlap. If this is set then |
callbackContext | * | <optional> |
The context in which to run the callbacks. |
True if at least one Game Object overlaps another.