Function ggez::mouse::get_position [] [src]

pub fn get_position(ctx: &Context) -> GameResult<Point2>

Get the current position of the mouse cursor, in pixels. Uses strictly window-only coordinates.