name | type | arguments | Default | description |
---|---|---|---|---|
hitArea | any | <optional> |
The object / shape to use as the Hit Area. If not given it will try to create a Rectangle based on the texture frame. |
|
hitAreaCallback | Phaser.Types.Input.HitAreaCallback | <optional> |
The callback that determines if the pointer is within the Hit Area shape or not. |
|
draggable | boolean | <optional> | false |
If |
dropZone | boolean | <optional> | false |
If |
useHandCursor | boolean | <optional> | false |
If |
cursor | string | <optional> |
The CSS string to be used when the cursor is over this Interactive Object. |
|
pixelPerfect | boolean | <optional> | false |
If |
alphaTolerance | number | <optional> | 1 |
If |