Difference between revisions of "Sprite:setStopEventPropagation"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2019.9<br/>
'''<translate>Available since</translate>:''' Gideros 2019.9<br/>
+
'''Class:''' [[Sprite]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Sprite|Sprite]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate>Selects the sets of input events that will not be propagated to parent Sprite if this Sprite is visible.<br />
+
Selects the sets of input events that will not be propagated to parent Sprite if this Sprite is visible.
</translate>
 
 
<source lang="lua">
 
<source lang="lua">
Sprite:setStopEventPropagation(mask)
+
Sprite:setStopEventPropagation(mask)
 
</source>
 
</source>
=== <translate>Parameters</translate> ===
+
 
'''mask''': (bitmask or boolean) <translate>A combination of Sprite.EVENTMASK_MOUSE,Sprite.EVENTMASK_TOUCH or Sprite.EVENTMASK_KEY, or false/true for none/all event stopped</translate> <br/>
+
=== 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<br/>
  
 
{{Sprite}}
 
{{Sprite}}

Revision as of 20:02, 7 February 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