Function tetra::window::set_mouse_visible
source · pub fn set_mouse_visible(ctx: &mut Context, visible: bool) -> Result
Expand description
Sets whether or not the mouse cursor should be visible.
Errors
TetraError::PlatformError
will be returned if the cursor state was inaccessible.