# How to set the minimum zoom scale of the model

**URL:** <https://forum.babylonjs.com/t/how-to-set-the-minimum-zoom-scale-of-the-model/22875>\
**Category:** Questions\
**Created:** [August 6, 2021, 7:49am UTC](https://forum.babylonjs.com/t/how-to-set-the-minimum-zoom-scale-of-the-model/22875 "2021-08-06T07:49:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![haoguang\_shen](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/haoguang_shen/32/17576_2.png) [@haoguang\_shen](https://forum.babylonjs.com/u/haoguang_shen)\
**Post date:** [August 6, 2021, 7:49am UTC](https://forum.babylonjs.com/t/how-to-set-the-minimum-zoom-scale-of-the-model/22875/1 "2021-08-06T07:49:32Z")

</div>

When I use the phone , if i zoom scale the model to minimum , model will disappear,so i must limit min value of zoom scale.

---

<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:** [August 6, 2021, 8:40am UTC](https://forum.babylonjs.com/t/how-to-set-the-minimum-zoom-scale-of-the-model/22875/2 "2021-08-06T08:40:00Z")

</div>

If you move the camera away from the object, it will be clipped in the far distance by the `maxZ` property:

> **[Camera | Babylon.js Documentation](https://doc.babylonjs.com/typedoc/classes/babylon.camera#maxz)**
>
> This is the base class of all the camera used in the application. \[API\]

Also, to see entirely your object, you will have to take the object bounding sphere into account. That means, the max distance from the camera to your object is `camera.maxz - object.bondingSphere.radius` (pseudo code here)

---

<div class="post-metadata">

**Author:** ![inteja](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/inteja/32/22553_2.png) [@inteja](https://forum.babylonjs.com/u/inteja)\
**Post date:** [August 6, 2021, 8:41am UTC](https://forum.babylonjs.com/t/how-to-set-the-minimum-zoom-scale-of-the-model/22875/3 "2021-08-06T08:41:00Z")

</div>

There’s also [camera.lowerRadiusLimit](https://doc.babylonjs.com/typedoc/classes/babylon.arcrotatecamera#lowerradiuslimit)
