Imagetarget dispatch only when successfully found

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

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