Sprite:setStopEventPropagation

From GiderosMobile
Revision as of 15:33, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "</source>" to "</syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2019.9
Class: Sprite

Description

Selects the sets of input events that will not be propagated to parent Sprite if this Sprite is visible.

Sprite:setStopEventPropagation(mask)

Parameters

mask: (bitmask or boolean) a combination of Sprite.EVENTMASK_MOUSE, Sprite.EVENTMASK_TOUCH or Sprite.EVENTMASK_KEY, or false/true for none/all event stopped