I want to get access to the window in a world scope to use window.height() and window.width(). But I don't know how to do this. I have this world.resource_scope already with one resource that I need, and I would like to use window_query: Query<&Window, With<PrimaryWindow>>, aswell. Does anyone know how to do this?
world.resource_scope(|world, mut sum_resource: Mut<SumAnswer>| {