Module amethyst_renderer::mouse [−][src]
Util functions that change how the mouse moves and looks.
Functions
| grab_cursor |
Grab the cursor to prevent it from going outside the screen. |
| hide_cursor |
Hide the cursor, so it's invisible while playing. Can't be used at the same time as grab_cursor. |
| release_cursor |
Set the cursor back to normal/visible. |
| set_mouse_cursor |
Sets the mouse cursor icon. |
| set_mouse_cursor_none |
Hide the cursor, so it's invisible while player. Can be used at the same time as grab_cursor. |