Allows you to define your own Geometry shape to be used as a Drop Zone.
name | type | description |
---|---|---|
hitArea | object |
A Geometry shape instance, such as Phaser.Geom.Ellipse, or your own custom shape. |
hitAreaCallback | Phaser.Types.Input.HitAreaCallback |
A function that will return |
This Game Object.