Skip to main content
1-Visitor
November 22, 2021
Solved

Unpress 3D Image Button when pressing a 3D Press Button

  • November 22, 2021
  • 1 reply
  • 1626 views

Hey! 

 

I want to unpress a 3D Imagebutton (Button1), when I press another 3D Press Button (Button2). 

Can anybody help me with the code for the function which is called when Button 2 is pressed?

 

I found this article, but I am not able to transform it in a way that it's working.

https://community.ptc.com/t5/Vuforia-Studio/Buttons-pressed-amp-unpressed/m-p/559590

 

Kind Regards,

Marius 

Best answer by sebben

Hi,

 

you just need bind the pressed event of button 2 to the reset service of button 1.

No code necessary. 

 

1 reply

sebben14-AlexandriteAnswer
14-Alexandrite
November 23, 2021

Hi,

 

you just need bind the pressed event of button 2 to the reset service of button 1.

No code necessary. 

 

1-Visitor
November 23, 2021

That was easy. Thank you!