Shadow jumping problem

How did you make the sun rotate?