# Detecting 3D object taps

**URL:** https://forum.8thwall.com/t/detecting-3d-object-taps/1306
**Category:** Technical Support
**Created:** [May 7, 2024, 2:02pm UTC](https://forum.8thwall.com/t/detecting-3d-object-taps/1306 "2024-05-07T14:02:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Ramiro\_Sakin](https://avatars.discourse-cdn.com/v4/letter/r/dfb087/32.png) [@Ramiro\_Sakin](https://forum.8thwall.com/u/Ramiro_Sakin)
#### Post date: [May 7, 2024, 2:02pm UTC](https://forum.8thwall.com/t/detecting-3d-object-taps/1306/1 "2024-05-07T14:02:12Z")

</div>

Hi all. We ere going to create a game where the player has to tap different moving 3d objects, thats possible? Since there are no collision boxes how woud you detect an tap on a 3d object?

Thanks

---

<div class="post-metadata">

### Author: ![Ian](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/ian/32/430_2.png) [@Ian](https://forum.8thwall.com/u/Ian)
#### Post date: [May 7, 2024, 6:19pm UTC](https://forum.8thwall.com/t/detecting-3d-object-taps/1306/2 "2024-05-07T18:19:30Z")

</div>

Pelase reference this thread:

> [@How to enable class="cantap" in order to click on a 3D object attaching to wrist?](https://forum.8thwall.com/t/how-to-enable-class-cantap-in-order-to-click-on-a-3d-object-attaching-to-wrist/1172/2):
>
> Hello @Son_Lai there are a couple steps you need to take to include a click event on a 3D model in a hand/wrist tracking experience. First, you need to add a raycast and cusor to your camera, something like this: \<a-camera raycaster="objects: .cantap" cursor="fuse: false; rayOrigin: mouse;" position="0 1.6 0"\>\</a-camera\> Then you need to add the class="cantap" to the entity that you want to interact with. Then you could write a simple component like this to test the logic (ap…

This shows you how to be able to tap on 3D models and then you can write custom code to do certain things you want.
