Hidding and showing annotations

I’m using the @wwtelescope/engine API in hosted mode in an embedded aplication. In certain given cicumstances I need to hide or show a circle at runtime. I’ve used the method ‘annotation.set_opacity’ with v = 0 /1, but it doesn’t work. I’ve also tryied to remove and add the element to the scriptInterface before and after changing opacity, but it doesn’t work too. Does it exist any way to do what I’m trying to do?
Manuel Heras

Fixed. It was a matter of attached javascript files.