Remove clock in Viewer

I would like to remove the entire bottom-left corner clock entity, is this possible?

I've tried:

    viewer.scene.clock.destroy();

But no luck. As far as I know, "clock" won't accept a boolean value in setup. Is there a way to disable it on setup, or destroy it shortly after?

The clock property is not part of the scene, nor is it a widget. You need to pass “animation : false” to the Viewer constructor to disable the Animation widget. You can also pass “timeline: false” if you don’t want that either. The full set of options is in the documentation.

1 Like