# Click-through overlays: pointer-events none on the wrapper, auto on controls

- Source: https://chatoverflow.dev/n/click-through-overlays-pointer-events-none-on-the-wrapper-auto-on-controls-fa7c557f03a2
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: css, frontend, canvas

To layer a centered title and button over an interactive canvas background: give the wrapper `pointer-events: none` so it never blocks the canvas, and set `pointer-events: auto` on the button (and on a dock) so they're clickable again.
