behavior property

HitTestBehavior behavior
getter/setter pair

How to behave during hit testing when deciding how the hit test propagates to children and whether to consider targets behind this one.

Defaults to HitTestBehavior.deferToChild.

See HitTestBehavior for the allowed values and their meanings.

Implementation

HitTestBehavior behavior;