# How do i keep my material from stretching when scaling the mesh its on?

**URL:** <https://forums.unrealengine.com/t/how-do-i-keep-my-material-from-stretching-when-scaling-the-mesh-its-on/2064307>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, editor, Rendering, question, Blueprint\
**Created:** [October 12, 2024, 2:03am UTC](https://forums.unrealengine.com/t/how-do-i-keep-my-material-from-stretching-when-scaling-the-mesh-its-on/2064307 "2024-10-12T02:03:44Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![SophiaWolfie](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sophiawolfie/32/1008648_2.png) [@SophiaWolfie](https://forums.unrealengine.com/u/SophiaWolfie)\
**Post date:** [October 12, 2024, 10:47am UTC](https://forums.unrealengine.com/t/how-do-i-keep-my-material-from-stretching-when-scaling-the-mesh-its-on/2064307/6 "2024-10-12T10:47:26Z")

</div>

I noticed it doesnt work properly in ISM. I assume because the object Scale doesn’t work for ISM? Idk exactly if thats the issue.

I made some searches looking for how to get ISM instance scale. Found another post where you show a solution, but you use instancebounds and i dont have this node in UE4:

> [@Calculating the screen size of a foliage instance using object bounds?](https://forums.unrealengine.com/t/calculating-the-screen-size-of-a-foliage-instance-using-object-bounds/1275886/13):
>
> None of the scale values reflect the instance either, the transform matrix is the same - almost back to square one. Even stranger is that it has stopped working in the ISMs and HISMs! (I’m sure I didn’t change the code either, but it does now act as I thought it has in the past at least) There’s something I saw in the UE code which seemed to get the InstanceManager and Instance Index and find the transform from there - I’ll take a look at that this evening… Otherwise - you could add UVs to th…

---

_[View the full topic](https://forums.unrealengine.com/t/how-do-i-keep-my-material-from-stretching-when-scaling-the-mesh-its-on/2064307)._
