honeycomb_render::systems

Function cursor_in_render

Source
pub fn cursor_in_render(
    q_windows: Query<'_, '_, &Window, With<PrimaryWindow>>,
    ui_state: Res<'_, UiState>,
) -> bool
Expand description

Detects if the cursor is positioned in the render tab.

This is used to ignore camera related input when interacting with something other than the