# Making Light rotating in realtime

**URL:** <https://forum.babylonjs.com/t/making-light-rotating-in-realtime/16547>\
**Category:** Questions\
**Created:** [December 11, 2020, 9:35pm UTC](https://forum.babylonjs.com/t/making-light-rotating-in-realtime/16547 "2020-12-11T21:35:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leon\_Servais](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/leon_servais/32/12379_2.png) [@Leon\_Servais](https://forum.babylonjs.com/u/Leon_Servais)\
**Post date:** [December 11, 2020, 9:35pm UTC](https://forum.babylonjs.com/t/making-light-rotating-in-realtime/16547/1 "2020-12-11T21:35:51Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [December 11, 2020, 10:32pm UTC](https://forum.babylonjs.com/t/making-light-rotating-in-realtime/16547/2 "2020-12-11T22:32:52Z")

</div>

Hello you can take a pointLight and move its position:

> **[Babylon.js Playground](https://playground.babylonjs.com/#AQRDKW%230)**
