Skip to main content

pointer_over_ui

Function pointer_over_ui 

Source
pub fn pointer_over_ui(world: &World) -> bool
Expand description

True when the cursor is over a retained UI widget. Gate world clicks on this so a press on a panel or button does not also place or pick in the scene.