# Imagetarget dispatch only when successfully found

**URL:** <https://forum.8thwall.com/t/imagetarget-dispatch-only-when-successfully-found/8652>\
**Category:** Technical Support\
**Created:** [December 22, 2025, 4:45am UTC](https://forum.8thwall.com/t/imagetarget-dispatch-only-when-successfully-found/8652 "2025-12-22T04:45:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peng\_Han\_Kum](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@Peng\_Han\_Kum](https://forum.8thwall.com/u/Peng_Han_Kum)\
**Post date:** [December 22, 2025, 4:45am UTC](https://forum.8thwall.com/t/imagetarget-dispatch-only-when-successfully-found/8652/1 "2025-12-22T04:45:16Z")

</div>

Dear George,

as title, I am trying to build a treasure hunt game, where I have a giant mural and the children are going around looking for treasures that pop out when image target meets.

I realise that although unseen in AR, the object still happens and is active. How do I call a dispatch when the object appear in imagetarget AR so that I can log the number of objects found?

Take care  
Han

---

<div class="post-metadata">

**Author:** ![GeorgeButler](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/georgebutler/32/1903_2.png) [@GeorgeButler](https://forum.8thwall.com/u/GeorgeButler)\
**Post date:** [January 6, 2026, 7:10pm UTC](https://forum.8thwall.com/t/imagetarget-dispatch-only-when-successfully-found/8652/2 "2026-01-06T19:10:36Z")

</div>

Can you post a snippet of your code? It sounds like the event listener might be on the wrong object.
