[SOLVED] Cannot read properties of undefined (reading 'setTrigger')

Urgent need help!! I have to hand up this assignment tomorrow! I have this tracking image function when user click the camera some animation will play. I’ve already set the collision on the camera and another 3d model that has animation will be played. But this appears, CAN SOMEONE HELP!

Hi @ravenjiji and welcome! Can you share the editor link of your project so someone can take a look?

thank you so much!!

The problem here is that your attribute is empty.


Omg thank you so much!!!

But i have one more question is that how do i stop the animation after it played.

Disable the ‘loop’ option.