OptionalalphaOptionalcursorThe CSS string to be used when the cursor is over this Interactive Object.
OptionaldraggableIf true the Interactive Object will be set to be draggable and emit drag events.
OptionaldropIf true the Interactive Object will be set to be a drop zone for draggable objects.
OptionalhitThe object / shape to use as the Hit Area. If not given it will try to create a Rectangle based on the texture frame.
OptionalhitThe callback that determines if the pointer is within the Hit Area shape or not.
OptionalpixelIf true the a pixel perfect function will be set for the hit area callback. Only works with image texture based Game Objects, not Render Textures.
OptionaluseIf true the Interactive Object will set the pointer hand cursor when a pointer is over it. This is a short-cut for setting cursor: 'pointer'.
If
pixelPerfectis set, this is the alpha tolerance threshold value used in the callback. A value of 255 will match only fully opaque pixels.