Quick answer: Construct 3 game pinch zoom triggering while a modal is open? Touch events propagate through modal layers - explicitly block in modal handler.

Inventory modal: pinch outside the panel still zooms the world.

Block touch events in modal

On modal open, set SuppressTouch = true. Restore on close.

Or pause the camera controller

Camera controller disabled during modal. Player input goes to UI; world untouched.

Use an event filter

Modal layer absorbs touches at its rect; the world doesn't see them.

“Modal isn't automatic. Block input explicitly.”

Build a 'modal active' global. UI checks it; gameplay checks it. Centralized; consistent.

Related reading