setInputRegion

open fun setInputRegion(region: <Error class: unknown class>)

Apply the region to the surface for the purpose of event handling.

Mouse events which happen while the pointer position corresponds to an unset bit in the mask will be passed on the surface below

Parameters

region

region of surface to be reactive