pub fn get_mouse_position(
q_primary_windows: Query<'_, '_, &Window, With<PrimaryWindow>>,
q_camera: Query<'_, '_, (&Camera, &GlobalTransform)>,
) -> (Option<Vec2>, Option<Vec2>)Expand description
Bevy system that returns the mouse positions for the screen and world.