# Attach a spawned mesh to a socket

**URL:** <https://forums.unrealengine.com/t/attach-a-spawned-mesh-to-a-socket/444632>\
**Category:** Blueprint\
**Tags:** socket-reference, unreal-engine, UE4, Blueprint, question\
**Created:** [March 5, 2019, 4:10am UTC](https://forums.unrealengine.com/t/attach-a-spawned-mesh-to-a-socket/444632 "2019-03-05T04:10:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aabun](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aabun](https://forums.unrealengine.com/u/aabun)\
**Post date:** [March 5, 2019, 4:10am UTC](https://forums.unrealengine.com/t/attach-a-spawned-mesh-to-a-socket/444632/1 "2019-03-05T04:10:57Z")

</div>

I am working on attach/detach a spawned mesh (lollipop) to a socket of skeletal mesh (kid), but the mesh is floating in the distance to the socket.  
I suspect that my skeleton doesn’t have hierarchy of the Epic mannequin skeleton. What do you think?  
Out of my wits, help!

---

<div class="post-metadata">

**Author:** ![madturtleGGinin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@madturtleGGinin](https://forums.unrealengine.com/u/madturtleGGinin)\
**Post date:** [March 5, 2019, 7:59am UTC](https://forums.unrealengine.com/t/attach-a-spawned-mesh-to-a-socket/444632/2 "2019-03-05T07:59:18Z")

</div>

Try changing both Location Rule and Rotation Rule to “Snap to Target”

---

<div class="post-metadata">

**Author:** ![aabun](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@aabun](https://forums.unrealengine.com/u/aabun)\
**Post date:** [March 5, 2019, 3:36pm UTC](https://forums.unrealengine.com/t/attach-a-spawned-mesh-to-a-socket/444632/3 "2019-03-05T15:36:47Z")

</div>

Yes, it worked! So simple solution…  
MadTurtleGGinin, Thank you so much! Your name is written in my credits list!
