Allows you to define your own Geometry shape to be used as a Drop Zone.
name | type | arguments | description |
---|---|---|---|
hitArea | object | <optional> |
A Geometry shape instance, such as Phaser.Geom.Ellipse, or your own custom shape. If not given it will try to create a Rectangle based on the size of this zone. |
hitAreaCallback | Phaser.Types.Input.HitAreaCallback | <optional> |
A function that will return |
This Game Object.