# Problem with the horizon

**URL:** <https://community.cesium.com/t/problem-with-the-horizon/11211>\
**Category:** CesiumJS\
**Created:** [October 12, 2020, 9:26pm UTC](https://community.cesium.com/t/problem-with-the-horizon/11211 "2020-10-12T21:26:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![imadzharov](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/imadzharov/32/1987_2.png) [@imadzharov](https://community.cesium.com/u/imadzharov)\
**Post date:** [October 12, 2020, 9:26pm UTC](https://community.cesium.com/t/problem-with-the-horizon/11211/1 "2020-10-12T21:26:18Z")

</div>

Hello,

I have built a simple flight simulator, but there is a problem with the horizon - it change its position when  
I resize the browser’s window or I change the altitude or the roll of the airplane. How can I fix this?

Greetings!

 ![Untitled-2](https://global.discourse-cdn.com/cesium/original/3X/8/3/8364a494938e2700f7ab81b26f61525bd8528976.jpeg)

---

<div class="post-metadata">

**Author:** ![Mehmed](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/mehmed/32/26053_2.png) [@Mehmed](https://community.cesium.com/u/Mehmed)\
**Post date:** [September 18, 2024, 7:09am UTC](https://community.cesium.com/t/problem-with-the-horizon/11211/2 "2024-09-18T07:09:35Z")

</div>

I’m curious about how you implemented the horizon line in your project. Could you share some details on the approach you used?
