Annotation Visibility Toggle


Is there a way to create a toggle button to enable and disable annotations (exactly the same functionality the standard viewer has). Thanks in advance.

It should be doable using viewer api function Viewer API - Functions - Sketchfab

Thanks Paul,

I don’t have much experience with .js but i did manage to get it working here.

The Sketchfab Viewer API: Hide Annotations on Camera Move example was very helpful.