get_position
Description:
This function tries to "do what you mean" and tell you where the actor is, prior to any transformations.
Retrieves the fixed position of an actor in pixels, if one has been set; otherwise, if the allocation is valid, returns the actor's allocated position; otherwise, returns 0,0.
The returned position is in pixels.
Parameters:
this |
a Actor |
x |
return location for the X coordinate, or |
y |
return location for the Y coordinate, or |