- Function/Meaning
-
Hit detection type
- Type
-
Layer class property (Read/Write)
- Description
-
Represents the type of hit detection for mouse events. You can also set the value.
If htProvince is specified, mouse events will only be received in areas of the province image where the value is non-zero.
If htMask is specified, mouse events will only be received if the value of the mask (opacity) image is greater than or equal to the value specified in the Layer.hitThreshold property.
Mouse events that are not received will be processed by layers further back.
The default state is htMask.