# Pointer input hit test overlay

**URL:** <https://phaser.discourse.group/t/pointer-input-hit-test-overlay/13049>\
**Category:** Examples\
**Created:** [March 21, 2023, 4:39pm UTC](https://phaser.discourse.group/t/pointer-input-hit-test-overlay/13049 "2023-03-21T16:39:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![samme](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/samme/32/5275_2.png) [@samme](https://phaser.discourse.group/u/samme)\
**Post date:** [March 21, 2023, 4:39pm UTC](https://phaser.discourse.group/t/pointer-input-hit-test-overlay/13049/1 "2023-03-21T16:39:31Z")

</div>

https://codepen.io/samme/embed/preview/QWVVWaa?default-tabs=js%2Cresult&height=300&host=https%3A%2F%2Fcodepen.io&slug-hash=QWVVWaa

I got to thinking of how to make a foolproof debug display for interactive game objects. This samples the entire game canvas at 1/8 resolution (12288 hit tests).
