Check if mouse/cursor was moved

As I understood the question , he wanted the camera to reset , if the there was no mouse movement for 2 seconds.If so , the timer should only start counting when mouse movement is = false.

If I misunderstood I apologize for any inconvenience

Ockert.