is_mouse_in_canvas

Function is_mouse_in_canvas 

Source
pub fn is_mouse_in_canvas() -> bool
Expand description

Return false if the mouse is outsite the tab. Make sure you called start_recording_mouse_events() before.