Skip to main content
15-Moonstone
October 13, 2022
Solved

Hide Tagalong Button of 3D Panel

  • October 13, 2022
  • 2 replies
  • 2051 views

Is there a way to disable and hide the Tagalong buttons of the 3D panels? I've found that people are pressing it without knowing what it does, and they are messing up the layout of the experience.

AlexK_0-1665654991076.png

Thanks!

Best answer by RolandRaytchev

Hi @AlexK ,

so I think you can use possibly one of the events on this widget. I see that tethered and untethered will fire when we click the symbol which will change the tagalong property :

2022-10-13_18-00-10.jpg

so possibly you can use some function in the tethered event which will set the tagalong property of the 3DPanel to false e.g.:

 $scope.app.myTetheredEvtCallback=function(){ 
console.warn("INFO:: Tethered Event called")
$scope.setWidgetProp("3DPanel-1","tagalong",false); 
};

so you can write in the JS box of the tethered event call  

app.myTetheredEvtCallback();

  

2 replies

21-Topaz I
October 13, 2022

Hi @AlexK ,

so I think you can use possibly one of the events on this widget. I see that tethered and untethered will fire when we click the symbol which will change the tagalong property :

2022-10-13_18-00-10.jpg

so possibly you can use some function in the tethered event which will set the tagalong property of the 3DPanel to false e.g.:

 $scope.app.myTetheredEvtCallback=function(){ 
console.warn("INFO:: Tethered Event called")
$scope.setWidgetProp("3DPanel-1","tagalong",false); 
};

so you can write in the JS box of the tethered event call  

app.myTetheredEvtCallback();

  

AlexK15-MoonstoneAuthor
15-Moonstone
October 14, 2022

Thank you Mr. Raytchev, this works. Maybe I will cover the button with a toggle to hide the panel so there are no "broken" buttons in the experience, that don't do anything.

 

Best wishes

18-Opal
November 7, 2022

I ran into this issue as well. I tried playing with the styling of the button, but wasn't able to completely get rid of it or stop it from displaying. As a workaround, I was able to tweak its position and size relative to the panel, to make it small and positioned inside the 3D rectangle of the panel itself, making it no longer visible due to being hidden inside the panel.

This is definitely an area that could use some improvement in terms of UI management.

21-Topaz I
November 8, 2022

@ClayHelberg ,

thanks for the feedback! The Vuforia Dev Team and PM is aware about this issue . There is a ticket reported VTS-1238 some days ago.

18-Opal
November 8, 2022

Thanks Roland!