Skip to main content
1-Visitor
June 3, 2020
Solved

Playing Specific step with same button

  • June 3, 2020
  • 1 reply
  • 1244 views

How do you play certain steps in .pvz file with only 1 button?

Example, when button is press, step 1 will animate. When the button is pressed the second time, instead of going to step 2, step 3 will animate.

Best answer by sdidier

Hello Jeremy,

 

The solution is to create a Javascript function to play the next step wanted.

 

For example, please see these threads :

https://community.ptc.com/t5/Vuforia-Studio/How-to-play-all-the-Sequences-pvi-one-by-one-on-a-single-click/m-p/525858#M2615 

https://community.ptc.com/t5/Vuforia-Studio/Play-specific-step-of-PVI-sequence-at-studio/m-p/552906#M3362

 

Of course, the source codes provided don't match your needs exactely.

It is needed to be modified.

 

Best regards,

Samuel

1 reply

sdidier17-PeridotAnswer
17-Peridot
June 3, 2020

Hello Jeremy,

 

The solution is to create a Javascript function to play the next step wanted.

 

For example, please see these threads :

https://community.ptc.com/t5/Vuforia-Studio/How-to-play-all-the-Sequences-pvi-one-by-one-on-a-single-click/m-p/525858#M2615 

https://community.ptc.com/t5/Vuforia-Studio/Play-specific-step-of-PVI-sequence-at-studio/m-p/552906#M3362

 

Of course, the source codes provided don't match your needs exactely.

It is needed to be modified.

 

Best regards,

Samuel