[][src]Function ggez::input::mouse::position

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

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