get_actor_at_pos


Description:

public unowned Actor get_actor_at_pos (PickMode pick_mode, int x, int y)

Checks the scene at the coordinates x and y and returns a pointer to the Actor at those coordinates.

By using pick_mode it is possible to control which actors will be painted and thus available.

Parameters:

this

a Stage

pick_mode

how the scene graph should be painted

x

X coordinate to check

y

Y coordinate to check

Returns:

the actor at the specified coordinates, if any