Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hi,
I want to trigger an event after completion of each step in Vuforia Studio.
Can someone help me with the same.
Thanks in advance.
with the use Switch case in javascript we can acheive this
Hi,
the 'playstopped' event of a model widget is triggered automatically after each step of a sequence.
You can use it to do something in your experience.
Hi @sebben
I am using the below code it is still not working. Correct me if there is any mistake in the code. Also I wanted to ask the commented out code below is it the right way to call a function which is already defined?
Thanks in advance.
This should work, assuming that your widgets are named the same. (Make sure you change the studio ID not only the friendly name)
You can check the console of the browser in preview and see if there are any errors.
If you can share the project, I could also take a look.
The way you call the functions is also correct.