For now I will just add this line to my script, which successfully hides things from the sim. Unfortunately it seems to need to be called after Update, not just after init. So I will do this for now. Likely there is an update coming soon, so this issue is to remove this workaround once the library supports fully hiding things.
stepTimer.addListener( () => {
// Mechamarkers stuff
this.Beholder.update( Date.now() );
// TODO: this is only temporary until we can hide this through the library,
document.getElementById( 'beholder-overlay' ).style.display = 'none';
} );
Discussed during my meeting with @Petroochio over in https://github.com/phetsims/tangible/issues/4#issuecomment-780805193.
For now I will just add this line to my script, which successfully hides things from the sim. Unfortunately it seems to need to be called after Update, not just after init. So I will do this for now. Likely there is an update coming soon, so this issue is to remove this workaround once the library supports fully hiding things.