Function elementalist::resources::cursor_position::update_cursor_position
source · pub fn update_cursor_position(
windows: Query<'_, '_, &Window, With<PrimaryWindow>>,
camera_q: Query<'_, '_, (&Camera, &GlobalTransform), With<MainCamera>>,
cursor_position: ResMut<'_, CursorPosition>
)