The time axis controls the rotation of the plane

I wanted to control the dynamic rotation of the plane by sliding the slider on the timeline. The original idea was to change the Angle by time input. However, I encountered a problem when using ShadowTime of the shadow module in SketchUp.Through ShadowInfoobServer, I can only get the time when the slider stops, and I cannot get the time when the slider is sliding. I want you to give me some new ways of taking time, or some new ways of thinking about how the time axis controls the rotation of the plane.

Are you programming something?
Might help if you upload some clues.