You’d do a something similar to this . This is the loop code
&overlay WHEEL1 rotates 360 anchor point 0.5 0.5 in 1 THEN overlay WHEEL1 rotates 0 anchor point 0.5 0.5 in 0 loop INFINITE times
&overlay WHEEL2 rotates 360 anchor point 0.5 0.5 in 1 THEN overlay WHEEL2 rotates 0 anchor point 0.5 0.5 in 0 loop INFINITE times