pub fn position(ctx: &Context) -> Point2<f32>
Expand description

Get the current position of the mouse cursor, in pixels. Complement to set_position(). Uses strictly window-only coordinates.