setCanTarget

open fun setCanTarget(canTarget: Boolean)

Sets whether @widget can be the target of pointer events.

Parameters

canTarget

whether this widget should be able to receive pointer events