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

pub fn set_position<P>(ctx: &mut Context, point: P) -> GameResult<()> where
    P: Into<Point2<f32>>, 
Expand description

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