How to trigger "seen" script only once?

Hy guys!
I have added a “seen” script on my tracking image which set up some timelines when the image is seen.

However, while testing in preview, if the image gets out of the camera and then enter it again the “seen” script is triggered again as well.

Instead, I want that the code in the “seen” script starts only once. How can do it?

Does anyone have the right solution?

Thank you so much!

Use one(“seen”) instead of on(“seen”)

1 Like

Oh this is great. Thanks! Newbie to zap studio. I’ve been using a brutish way by checking with a counter and if the counter == 0, do things and add to the counter so it doesn’t restart.:joy::sweat_smile:

1 Like

thanks a lot

1 Like