# Can you use the radius/scale of an instanced static mesh instance in the material editor?

**URL:** <https://forums.unrealengine.com/t/can-you-use-the-radius-scale-of-an-instanced-static-mesh-instance-in-the-material-editor/427279>\
**Category:** Rendering\
**Tags:** Instanced-Mesh, unreal-engine, question\
**Created:** [June 13, 2018, 12:34pm UTC](https://forums.unrealengine.com/t/can-you-use-the-radius-scale-of-an-instanced-static-mesh-instance-in-the-material-editor/427279 "2018-06-13T12:34:29Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![brisck1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@brisck1](https://forums.unrealengine.com/u/brisck1)\
**Post date:** [September 20, 2024, 6:06pm UTC](https://forums.unrealengine.com/t/can-you-use-the-radius-scale-of-an-instanced-static-mesh-instance-in-the-material-editor/427279/5 "2024-09-20T18:06:19Z")

</div>

I’ve been struggling with this also for a while - I got pretty close with this:

> [@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/14):
>
> The ObjectScale node seems to reflect the correct scale, so something like this kind of works: The Custom node is just “return GetPrimitiveData(Parameters).InstanceLocalBoundsExtent.xyz;” The only problem now is that the rotation is wrong… Is that the desired effect?

but I should note it’s not perfect…

---

_[View the full topic](https://forums.unrealengine.com/t/can-you-use-the-radius-scale-of-an-instanced-static-mesh-instance-in-the-material-editor/427279)._
