# Why does camera.alpha keep going up in babylon js?

**URL:** <https://forum.babylonjs.com/t/why-does-camera-alpha-keep-going-up-in-babylon-js/30504>\
**Category:** Questions\
**Tags:** documentation\
**Created:** [May 18, 2022, 2:24pm UTC](https://forum.babylonjs.com/t/why-does-camera-alpha-keep-going-up-in-babylon-js/30504 "2022-05-18T14:24:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrK](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mrk/32/10001_2.png) [@MrK](https://forum.babylonjs.com/u/MrK)\
**Post date:** [May 18, 2022, 2:24pm UTC](https://forum.babylonjs.com/t/why-does-camera-alpha-keep-going-up-in-babylon-js/30504/1 "2022-05-18T14:24:25Z")

</div>

Hi there, when i console log the cameras alpha it keeps going up in value (when i rotate the camera right). i thought it would stop at 360 and then reset to 0 but it just keeps going higher, why is that? Same as when you keep rotating left, the alpha goes deep into the negative numbers.

Thanks.

---

<div class="post-metadata">

**Author:** ![Ontropy](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/ontropy/32/24424_2.png) [@Ontropy](https://forum.babylonjs.com/u/Ontropy)\
**Post date:** [May 18, 2022, 2:36pm UTC](https://forum.babylonjs.com/t/why-does-camera-alpha-keep-going-up-in-babylon-js/30504/2 "2022-05-18T14:36:48Z")

</div>

Should not really matter, you could just `%= 360;` it if want.

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [May 18, 2022, 2:51pm UTC](https://forum.babylonjs.com/t/why-does-camera-alpha-keep-going-up-in-babylon-js/30504/3 "2022-05-18T14:51:15Z")

</div>

Turning 90 degrees to the right is also turning 270 degrees to the left, or 450 degrees to the right. Or … well, you get the point 🙂  
We do normalize that at a certain point, but it actually doesn’t really matter. As @Ontropy said, you can always % 360 the value (after converting it to degrees, since it is technically in radians).
