Is it possible to know if user is in Theatre mode?

Im currently using mouse leave event to hide the UI but if the user is in Theatre mode doesnt work.

Is there any way to know if the user is using it so I can change the event to something else?

Ty!

1 Like

onContext() Helper

This helper contains a callback which contains properties that might be of use to you:

isTheatreMode     boolean     If true, the viewer is watching in theater mode.
2 Likes

Thank you!

You might want to use css instead

body { opacity: 0; }
body:hover { opacity: 1; }
body.toolisopen { opacity: 1; }

Something like that may help

1 Like

Thanks Barry, that is so simple! Still have the mouse pointer that stays visible, but doesn’t involve using extra JS for events.