# Can I get the Instance Orientation in a material?

**URL:** <https://forums.unrealengine.com/t/can-i-get-the-instance-orientation-in-a-material/1310852>\
**Category:** Asset Creation\
**Tags:** UE-5, orientation, position, node, instance, unreal-engine, Instanced-Mesh, UE5, local, instances, Shaders, question\
**Created:** [September 24, 2023, 10:37pm UTC](https://forums.unrealengine.com/t/can-i-get-the-instance-orientation-in-a-material/1310852 "2023-09-24T22:37:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![The\_untextured](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@The\_untextured](https://forums.unrealengine.com/u/The_untextured)\
**Post date:** [September 24, 2023, 10:37pm UTC](https://forums.unrealengine.com/t/can-i-get-the-instance-orientation-in-a-material/1310852/1 "2023-09-24T22:37:05Z")

</div>

Hi all!  
I have the following piece of material:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/b/a/4bab8767c195016373cfaf2572c44baaa1360d73.png)

In it, you can see the “ObjectOrientation” node. It makes the material work fine for normal static meshes, but when i use it on an instanced static mesh, it does not work…

Is there a way to get the Instance’s orientation?

---

<div class="post-metadata">

**Author:** ![The\_untextured](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@The\_untextured](https://forums.unrealengine.com/u/The_untextured)\
**Post date:** [September 24, 2023, 10:52pm UTC](https://forums.unrealengine.com/t/can-i-get-the-instance-orientation-in-a-material/1310852/2 "2023-09-24T22:52:41Z")

</div>

Alright. Solved like this:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/4/f/64f27d2bec16d805a224bfda2478d86bcf5ebb7d.png)

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [October 24, 2023, 10:52pm UTC](https://forums.unrealengine.com/t/can-i-get-the-instance-orientation-in-a-material/1310852/3 "2023-10-24T22:52:45Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
