Sprite:getChildrenAtPoint

This page contains changes which are not marked for translation.


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.