Making Light rotating in realtime

Hello,

I was wondering if someone managed to make light rotating around an object in realtime, like simulating the real sun.

Best Regards,
Léon

Hello you can take a pointLight and move its position: