How to know if gizmos is on

I want to do something only when gizmos is on.

You can read the last few posts in this thread for some ideas. It’s all undocumented and therefore unsupported, but should help you.

thanks!