Sprite:getChildrenAtPoint

From GiderosMobile
Revision as of 00:07, 4 December 2019 by MoKaLux (talk | contribs)


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.