enabledHitDetection property

bool enabledHitDetection
getter/setter pair

Enables or disables hit detection. When true, allows detecting user interactions with the painted layer.

Implementation

bool enabledHitDetection = true;