# Socket doesn't work in the game, only works in anim. preview

**URL:** <https://forums.unrealengine.com/t/socket-doesnt-work-in-the-game-only-works-in-anim-preview/362833>\
**Category:** Character & Animation\
**Tags:** socket, unreal-engine, Blueprint, question\
**Created:** [July 3, 2016, 7:22pm UTC](https://forums.unrealengine.com/t/socket-doesnt-work-in-the-game-only-works-in-anim-preview/362833 "2016-07-03T19:22:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Soyer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Soyer](https://forums.unrealengine.com/u/Soyer)\
**Post date:** [July 3, 2016, 7:22pm UTC](https://forums.unrealengine.com/t/socket-doesnt-work-in-the-game-only-works-in-anim-preview/362833/1 "2016-07-03T19:22:56Z")

</div>

I have followed maybe 7 tutorials on how sockets work and tried to reproduce them step by step, but not successfully. I want to add a simple cube mesh to my character’s bone called "head”. Yes, primitive, but I need to learn this first.

After following the tutorials, the best result I came up with was a cube that moves with my character in the level, but ignores head movements. A strange thing is it works fine in an animation montage/skeleton preview where I add the socket to the bone and then add the preview mesh, but in the game, the cube only follows the mesh in general ignoring the head.

How do I make the cube (and any other mesh) to move and rotate with a selected bone? There must be something tiny, but significant if it works in anim. montage window.

 ![97011-lvl+blueprint+for+socket.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/f/4/6f4c035c4d199ab8cab80fbc27a17cd5d9d537b7.jpeg)

---

<div class="post-metadata">

**Author:** ![Soyer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Soyer](https://forums.unrealengine.com/u/Soyer)\
**Post date:** [July 6, 2016, 5:58pm UTC](https://forums.unrealengine.com/t/socket-doesnt-work-in-the-game-only-works-in-anim-preview/362833/2 "2016-07-06T17:58:11Z")

</div>

Solved!  
Well that was interesting, didn’t even need to do blueprints. Apparently just parent a static mesh to a socket by browsing “parent socket” in the viewport. The catch is I had to parent a static mesh to my character’s skeletal mesh in the viewport, than it worked.

---

<div class="post-metadata">

**Author:** ![TheFuriouswc](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/thefuriouswc/32/565662_2.png) [@TheFuriouswc](https://forums.unrealengine.com/u/TheFuriouswc)\
**Post date:** [August 23, 2022, 11:11pm UTC](https://forums.unrealengine.com/t/socket-doesnt-work-in-the-game-only-works-in-anim-preview/362833/3 "2022-08-23T23:11:01Z")

</div>

How does one do that, I have the same problem. I’m new to unreal so I don’t how to do everything yet.
