To find which tab we are on

How to find out which tab we are on? For example I want to find out if I am on units tab or timeline tab.

found out myself just use the scheduler._mode variable.

Hello,

Or, even better, you can use getState() function.

Best regards,
Ilya