# How to get relative location of Static Mesh Socket when Component is not root

**URL:** <https://forums.unrealengine.com/t/how-to-get-relative-location-of-static-mesh-socket-when-component-is-not-root/2705813>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [March 13, 2026, 1:29am UTC](https://forums.unrealengine.com/t/how-to-get-relative-location-of-static-mesh-socket-when-component-is-not-root/2705813 "2026-03-13T01:29:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SocietalBystande](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SocietalBystande](https://forums.unrealengine.com/u/SocietalBystande)\
**Post date:** [March 13, 2026, 1:29am UTC](https://forums.unrealengine.com/t/how-to-get-relative-location-of-static-mesh-socket-when-component-is-not-root/2705813/1 "2026-03-13T01:29:19Z")

</div>

I want to get the Y axis location of the Socket of a Static Mesh during construction while the Static Mesh is not the root.

I want this number: 2.5

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/3/f/c3fece814e76094c9189194f8668cfc50dae7c14.jpeg)

Notice Hierarchy:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/7/5/c756e8336019a3940ea5b8d4fe7656ba1b674cec.png)

Ive tried all transform space types. but I keep getting -4.5 or some other number.

Ive even tried inverse transform from the root.

What is the solution here?

---

<div class="post-metadata">

**Author:** ![Mind-Brain](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mind-brain/32/906573_2.png) [@Mind-Brain](https://forums.unrealengine.com/u/Mind-Brain)\
**Post date:** [March 13, 2026, 2:42am UTC](https://forums.unrealengine.com/t/how-to-get-relative-location-of-static-mesh-socket-when-component-is-not-root/2705813/2 "2026-03-13T02:42:44Z")

</div>

Hey @SocietalBystande !

First make absolutely sure the Socket Transform name is EXACTLY the same.

After that, give this a shot! Looks like they were trying to do the same thing just a little more complicated with Arrays. Let us know if that works out for you! If not we’ll try something different. 🙂

> [@How to get a static meshes socket location?](https://forums.unrealengine.com/t/how-to-get-a-static-meshes-socket-location/471565/5):
>
> This actually doesn’t work directly with HISMs. I’ll post my answer that I figured out but you actually have to get the parent instance transform then add that to the socket transform to get the actual local transform in world.
