Event.getPosition

bool getPosition(out double x, out double y)

Extract the event surface relative x/y coordinates from an event.

This position is in surface coordinates.

Parameters

xlocation to put event surface x coordinate
ylocation to put event surface y coordinate

Returns