cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to use button/image widget to select and play particular model from multiple models?

Highlighted
Level 8

How to use button/image widget to select and play particular model from multiple models?

I have multiple of models uploaded in studio 3D canvas and in 2D canvas i have particular button/image widget for particular model ...When i am pressing button that particular model will be visible and play the sequence and other models are hidden 

1 REPLY

Re: How to use button/image widget to select and play particular model from multiple models?

You can bind the button click event to the 'play all' service for model you want to view. You can also call a JS function on the same click even to hide the other models from the canvas. For example, if I wanted to hide model-2 on the click event, I would add this code to my home.js file:

 

$scope.hideModel2 = function() {
  $scope.view.wdg['model-2']['visible']=false;
};

Then, on the click event, add 'hideModel2():'.