# Scale gizmo goes nuts

**URL:** <https://forum.babylonjs.com/t/scale-gizmo-goes-nuts/15248>\
**Category:** Bugs\
**Created:** [October 28, 2020, 8:52pm UTC](https://forum.babylonjs.com/t/scale-gizmo-goes-nuts/15248 "2020-10-28T20:52:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aWeirdo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/aweirdo/32/52_2.png) [@aWeirdo](https://forum.babylonjs.com/u/aWeirdo)\
**Post date:** [October 28, 2020, 8:52pm UTC](https://forum.babylonjs.com/t/scale-gizmo-goes-nuts/15248/1 "2020-10-28T20:52:06Z")

</div>

Scale gizmo goes nuts at distance, shouldn’t there be some kind of limit?

Apart from the selected scaling value going out of control (sometimes past MAX\_SAFE\_INTEGER), it usual results in **y scale** getting inverted and **rotation** values messed up

[![](https://raw.githubusercontent.com/aWeirdo/Babylon.js/master/ice_video_20201028-214520.gif) ](https://raw.githubusercontent.com/aWeirdo/Babylon.js/master/ice_video_20201028-214520.gif)

Repro:  
[https://playground.babylonjs.com/#8MGKWK#341](https://playground.babylonjs.com/#8MGKWK#341) ( click R )

---

<div class="post-metadata">

**Author:** ![Cedric](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/cedric/32/2742_2.png) [@Cedric](https://forum.babylonjs.com/u/Cedric)\
**Post date:** [October 29, 2020, 9:06am UTC](https://forum.babylonjs.com/t/scale-gizmo-goes-nuts/15248/2 "2020-10-29T09:06:03Z")

</div>

Yes, it looks like there is no safe checks on limits. Let me check that!

---

<div class="post-metadata">

**Author:** ![Cedric](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/cedric/32/2742_2.png) [@Cedric](https://forum.babylonjs.com/u/Cedric)\
**Post date:** [October 29, 2020, 2:16pm UTC](https://forum.babylonjs.com/t/scale-gizmo-goes-nuts/15248/3 "2020-10-29T14:16:19Z")

</div>

PR [max scale for gizmo by CedricGuillemet · Pull Request #9303 · BabylonJS/Babylon.js · GitHub](https://github.com/BabylonJS/Babylon.js/pull/9303)
