# More thickness to BABYLON.BoundingBoxGizmo

**URL:** <https://forum.babylonjs.com/t/more-thickness-to-babylon-boundingboxgizmo/13290>\
**Category:** Questions\
**Created:** [August 11, 2020, 1:31pm UTC](https://forum.babylonjs.com/t/more-thickness-to-babylon-boundingboxgizmo/13290 "2020-08-11T13:31:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![issam\_abdelhedi](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/issam_abdelhedi/32/5064_2.png) [@issam\_abdelhedi](https://forum.babylonjs.com/u/issam_abdelhedi)\
**Post date:** [August 11, 2020, 1:31pm UTC](https://forum.babylonjs.com/t/more-thickness-to-babylon-boundingboxgizmo/13290/1 "2020-08-11T13:31:02Z")

</div>

hello ,

i know that i make the question many times , but still search for solution 😕  
i’m using BoundingBoxGizmo like this :  
this.utilLayer.utilityLayerScene.autoClearDepthAndStencil = false;  
this.gizmo =  
new BABYLON.BoundingBoxGizmo(BABYLON.Color3.FromHexString("#0984e3"),this.utilLayer);  
pg exemple : [https://www.babylonjs-playground.com/#U8EJ66#5](https://www.babylonjs-playground.com/#U8EJ66#5)  
I would like to give a little more thickness to the gizmo without enlarging them (just the thickness).  
I find them very fine and it is difficult to catch them with the mouse unless you point precisely at them. Giving them more thickness would solve this problem.

Thank you!

---

<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:** [August 11, 2020, 4:43pm UTC](https://forum.babylonjs.com/t/more-thickness-to-babylon-boundingboxgizmo/13290/2 "2020-08-11T16:43:33Z")

</div>

Hey, you can control the sphere size with `gizmo.rotationSphereSize` and the scale boxes size with `gizmo.scaleBoxSize`

---

<div class="post-metadata">

**Author:** ![issam\_abdelhedi](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/issam_abdelhedi/32/5064_2.png) [@issam\_abdelhedi](https://forum.babylonjs.com/u/issam_abdelhedi)\
**Post date:** [August 17, 2020, 9:15am UTC](https://forum.babylonjs.com/t/more-thickness-to-babylon-boundingboxgizmo/13290/3 "2020-08-17T09:15:41Z")

</div>

thanks @Deltakosh , it’s work with gizmo.scaleBox size , but when i use  
this.gizmo = new BABYLON.RotationGizmo(this.utilLayer)  
and i want to give a little more thickness to the gizmo without enlarging them  
it doesn’t work with gizmo.rotationSphereSize.

---

<div class="post-metadata">

**Author:** ![issam\_abdelhedi](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/issam_abdelhedi/32/5064_2.png) [@issam\_abdelhedi](https://forum.babylonjs.com/u/issam_abdelhedi)\
**Post date:** [August 17, 2020, 12:53pm UTC](https://forum.babylonjs.com/t/more-thickness-to-babylon-boundingboxgizmo/13290/4 "2020-08-17T12:53:05Z")

</div>

@Deltakosh there a PG exemple : [https://www.babylonjs-playground.com/#U8EJ66#6](https://www.babylonjs-playground.com/#U8EJ66#6)  
thanks for help 🙂

---

<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:** [August 17, 2020, 5:28pm UTC](https://forum.babylonjs.com/t/more-thickness-to-babylon-boundingboxgizmo/13290/5 "2020-08-17T17:28:00Z")

</div>

like that?  
[https://www.babylonjs-playground.com/#U8EJ66#7](https://www.babylonjs-playground.com/#U8EJ66#7)

---

<div class="post-metadata">

**Author:** ![issam\_abdelhedi](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/issam_abdelhedi/32/5064_2.png) [@issam\_abdelhedi](https://forum.babylonjs.com/u/issam_abdelhedi)\
**Post date:** [August 18, 2020, 8:32am UTC](https://forum.babylonjs.com/t/more-thickness-to-babylon-boundingboxgizmo/13290/6 "2020-08-18T08:32:26Z")

</div>

exactly but i think i have a problem with my babylon version despite I have the version 4.1 , but i got always this erreur with thickness params :

 ![thickness](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/9/9a514e21139826fa2f96c33275a3489b7eea8456.png)

---

<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:** [August 18, 2020, 4:54pm UTC](https://forum.babylonjs.com/t/more-thickness-to-babylon-boundingboxgizmo/13290/7 "2020-08-18T16:54:03Z")

</div>

This is a 4.2 feature 🙂
