Difference between revisions of "Sprite:getChildrenAtPoint"
From GiderosMobile
(Created page with "__NOTOC__ <languages /> '''<translate>Available since</translate>:''' Gideros 2018.12.1<br/> '''<translate>Class</translate>:''' Sprite<br/> ===...") |
(No difference)
|
Revision as of 08:53, 20 December 2018
Available since: Gideros 2018.12.1
Class: Sprite
Description
Returns the children Sprites that correspond to the given screen coordinates.
(table) = Sprite:getChildrenAtPoint(x,y,visible,nosubs)
Parameters
x: (number) x coordinate in global space.
y: (number) y coordinate in global space.
visible: (boolean) Only report visible sprites.
nosubs: (boolean) Don't report children of this sprite's children.
Return values
Returns (table) A list of Sprites that were found at that screen location.