Difference between revisions of "Sprite:setStopEventPropagation"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Selects the sets of input events that will not be propagated to parent Sprite if this Sprite is visible.
 
Selects the sets of input events that will not be propagated to parent Sprite if this Sprite is visible.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
Sprite:setStopEventPropagation(mask)
 
Sprite:setStopEventPropagation(mask)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 15:33, 13 July 2023

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