There are several ImageTargets, and there are three buttons in the interface, when you click, the sound plays (voicing in three languages). How can I attach an action to ImageTarget? sounds should be played according to the purpose of the image.
I can’t understand the problem, but if u want to interact with the objects in ar u can use a raycast, but if u wanna interact with other objects like ui its easy, like in other apps without AR.
OK, i think u want to reproduce sound when the imagetarget is on screen, in that case put the code in the ONEnable of that object.