# I am Struggling with Object Scaling in Three.js so i want tip?

**URL:** <https://discourse.threejs.org/t/i-am-struggling-with-object-scaling-in-three-js-so-i-want-tip/81584>\
**Category:** Questions\
**Created:** [April 24, 2025, 5:02pm UTC](https://discourse.threejs.org/t/i-am-struggling-with-object-scaling-in-three-js-so-i-want-tip/81584 "2025-04-24T17:02:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sofiaya](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/sofiaya/32/59145_2.png) [@Sofiaya](https://discourse.threejs.org/u/Sofiaya)\
**Post date:** [April 24, 2025, 5:02pm UTC](https://discourse.threejs.org/t/i-am-struggling-with-object-scaling-in-three-js-so-i-want-tip/81584/1 "2025-04-24T17:02:40Z")

</div>

Hey all,

I have been working on a 3D project using Three.js & I am hitting a bit of a roadblock when it comes to scaling objects. Also i am trying to dynamically resize a mesh based on user input, but the object’s texture gets all stretched and distorted when I scale it. I have tried using `.scale.set(x, y, z)` on the mesh; but that just seems to mess with the proportions.

Is there a better way to handle scaling without messing up the texture? Should I be adjusting something else such as the UV mapping, or is there a different method to go about this?

I have also been getting into [java training](https://www.igmguru.com/digital-marketing-programming/java-certification-training) & I am finding some similarities between handling scaling in 3D and managing object-oriented concepts in Java. If you have any advice on this issue, it would be great!

I have seen some discussions such as [How to link multiple 3D object with buttons in three.js?](https://discourse.threejs.org/t/how-to-link-multiple-3d-object-with-buttons-in-three-js/15370) about using `THREE.Geometry` and `THREE.BufferGeometry`, but I am not sure if that’s the best approach for this scenario.

If anyone have a any advice or guidance please share with me. 😅

Thank you…🙂

---

<div class="post-metadata">

**Author:** ![Chaser\_Code](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/chaser_code/32/20199_2.png) [@Chaser\_Code](https://discourse.threejs.org/u/Chaser_Code)\
**Post date:** [April 24, 2025, 5:07pm UTC](https://discourse.threejs.org/t/i-am-struggling-with-object-scaling-in-three-js-so-i-want-tip/81584/2 "2025-04-24T17:07:28Z")

</div>

```javascript
texture.wrapS=texture.wrapT=THREE.RepeatWrapping;
texture.repeat.set(10,10);

```
