OptionalchannelWhich channel of the mask texture to use for masking.
'red' uses the red channel (default). Suitable for grayscale mask textures.'alpha' uses the alpha channel. Suitable for sprites with transparency.Whether the mask should be inverted. When true, the masked area becomes transparent and the unmasked area becomes visible.
Options for configuring mask behavior on a display object.
Example
See