Back to the Shapespark home page

Combine Triggers

It would be great to use one trigger for two actions like, change camera, swich color of an object and hide another as the same time.

Is this possible right now with java script possible?

1 Like

With JavaScript code it is possible to have several actions performed by a single trigger, but JavaScript code doesn’t allow to activate existing extensions. So for example if you would like to open HTML Label and display material picker with a single trigger it would not be possible

would you have an example code how the combine of camera movement and hide object could work?

1 Like

You can use the standard Switch to view extension to combine camera movement and hide object. Use Objects tab to configure objects to be hidden in a view. You can also use Hide from menu option for the view if you prefer to have this view internal, not visible to the user.