Skip to main content
10-Marble
November 2, 2022
Solved

How to hide widget control buttons?

  • November 2, 2022
  • 1 reply
  • 1621 views

Hi everyone!

I have created an Experience on Hololens 2 with step-by-step instruction, where you have to push "Next Step" button to load next animation in a model. I have put it on a 3D Panel to use Tagalong function, but there is this big "pin/unpin" button I would like to hide, and here is my question - how to do it? I know that I can turn off this button functionality with simple js function, but I want it to disappear.


Best answer by RolandRaytchev

Hi @Pawel_D.,

so far I know we can not make it invisible (I did not find such option in the current version) but if you want that this action is not active or let say to disable the changing of this value-  you can disable the change  it as mentioned in https://community.ptc.com/t5/Vuforia-Studio/Hide-Tagalong-Button-of-3D-Panel/m-p/830238

so call in the events some function containing the call

 

$scope.setWidgetProp("3DPanel-1","tagalong",false);

 

to disable the pin or true to enable it

Another option I know  (requires more complex implementation) is to move the objects with offset distance and  normal to the eye vector as shown in 

https://community.ptc.com/t5/Vuforia-Studio-and-Chalk-Tech/How-can-we-make-a-3D-Widget-on-HoloLens-visible-in-front-of-me/ta-p/658541

 

1 reply

21-Topaz I
November 2, 2022

Hi @Pawel_D.,

so far I know we can not make it invisible (I did not find such option in the current version) but if you want that this action is not active or let say to disable the changing of this value-  you can disable the change  it as mentioned in https://community.ptc.com/t5/Vuforia-Studio/Hide-Tagalong-Button-of-3D-Panel/m-p/830238

so call in the events some function containing the call

 

$scope.setWidgetProp("3DPanel-1","tagalong",false);

 

to disable the pin or true to enable it

Another option I know  (requires more complex implementation) is to move the objects with offset distance and  normal to the eye vector as shown in 

https://community.ptc.com/t5/Vuforia-Studio-and-Chalk-Tech/How-can-we-make-a-3D-Widget-on-HoloLens-visible-in-front-of-me/ta-p/658541

 

Pawel_D.10-MarbleAuthor
10-Marble
November 2, 2022

Hi there!

Thank you for your solution. Maybe in future there will be more options to change 3D widgets. For now this is the only solution we have 🙂

21-Topaz I
November 2, 2022

Hi @Pawel_D. , thanks for the feedback! I reported this as enhancement to R&D team - ref ticket Jira VTS-1238, so possibly the R&D team could take a look if there are enhancement prospects