Sprite:getChildrenAtPoint

From GiderosMobile
Revision as of 07:53, 20 December 2018 by Hgy29 (talk | contribs) (Created page with "__NOTOC__ <languages /> '''<translate>Available since</translate>:''' Gideros 2018.12.1<br/> '''<translate>Class</translate>:''' Sprite<br/> ===...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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.