public static long activeElapsedTime ;

Description

The total time, in milliseconds, that the user interacted with the Editor since the beginning of the current session.

Interaction includes mouse movement, mouse clicks, and keyboard input while the Unity Editor has focus.