Layer.hitThreshold

Function/Meaning
Hit detection threshold
Type
Layer class property (read/write)
Description
Represents the threshold for mouse event hit detection. You can also set the value.
This property is only valid when the Layer.hitType property is set to htMask. Mouse messages are received if the value of the mask (opacity) image is greater than or equal to the value specified by this property.
If 0 is specified, all mouse messages are received. If 256 is specified, no mouse messages are received.
The default value is 16.