get_actor_at_pos
Description:
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 |