Skip to main content

process_recorded_focus_changes

Function process_recorded_focus_changes 

Source
pub fn process_recorded_focus_changes(
    focus: ResMut<'_, InputFocus>,
    commands: Commands<'_, '_>,
)
Expand description

Reads the recorded focus changes from the InputFocus resource and sends the appropriate FocusGained and FocusLost events.

This system is part of InputFocusPlugin.