# Attaching static mesh to socket

**URL:** <https://forums.unrealengine.com/t/attaching-static-mesh-to-socket/486311>\
**Category:** Blueprint\
**Tags:** socket, attach-to-component, unreal-engine, Blueprint, question\
**Created:** [July 19, 2021, 6:09am UTC](https://forums.unrealengine.com/t/attaching-static-mesh-to-socket/486311 "2021-07-19T06:09:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PersianLord1990](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PersianLord1990](https://forums.unrealengine.com/u/PersianLord1990)\
**Post date:** [July 19, 2021, 6:09am UTC](https://forums.unrealengine.com/t/attaching-static-mesh-to-socket/486311/1 "2021-07-19T06:09:36Z")

</div>

Hi, I’m trying to attach a simple box static mesh to a character socket using the AttachActortoComponent in level blueprint. I know that the pivot of the static mesh should attach to the desired socket but the problem is that even when I change the pivot location, the mesh still attaches at the center. I change the pivot location of the static mesh by changing its pivot offset in the details panel. Sorry if it is a stupid question but I can’t solve it, Please help.

---

<div class="post-metadata">

**Author:** ![PersianLord1990](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PersianLord1990](https://forums.unrealengine.com/u/PersianLord1990)\
**Post date:** [July 20, 2021, 10:47am UTC](https://forums.unrealengine.com/t/attaching-static-mesh-to-socket/486311/2 "2021-07-20T10:47:31Z")

</div>

Update: let’s say that I create a box brush then make it a static mesh. If I change the pivot offset of the brush before converting it into a static mesh, the attach happens to the new pivot but if I change the offset of the static mesh itself nothing happens. So what to do if I have an imported static mesh?
