Function amethyst_renderer::mouse::grab_cursor[][src]

pub fn grab_cursor(msg: &mut WindowMessages)

Grab the cursor to prevent it from going outside the screen.