Sprite:setStopEventPropagation

From GiderosMobile
Revision as of 14:31, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

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. <syntaxhighlight lang="lua"> Sprite:setStopEventPropagation(mask) </source>

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