# How do I get my weapon to show in game?

**URL:** <https://forums.unrealengine.com/t/how-do-i-get-my-weapon-to-show-in-game/278063>\
**Category:** Community & Industry Discussion\
**Tags:** weapon, socket, attachment, unreal-engine, Components, question\
**Created:** [March 23, 2014, 2:43pm UTC](https://forums.unrealengine.com/t/how-do-i-get-my-weapon-to-show-in-game/278063 "2014-03-23T14:43:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_e281dc471](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e281dc471](https://forums.unrealengine.com/u/anonymous_user_e281dc471)\
**Post date:** [March 23, 2014, 2:43pm UTC](https://forums.unrealengine.com/t/how-do-i-get-my-weapon-to-show-in-game/278063/1 "2014-03-23T14:43:23Z")

</div>

Hi,

I tried create socket and attach weapon like here: [https://docs.unrealengine.com/latest/INT/Engine/Content/Types/SkeletalMeshes/Sockets/index.html#permanentattachment](https://docs.unrealengine.com/latest/INT/Engine/Content/Types/SkeletalMeshes/Sockets/index.html#permanentattachment)

I drag & drop weapon to socket and it works in Persona editor but doesn’t work in play game mode. I see “Preview Only” next to Weapon object like on the screen:

[http://s12.postimg.org/if34ap05p/socket.png](http://s12.postimg.org/if34ap05p/socket.png)

Could you help me? Is it a bug? Or what?

Thank you,

---

<div class="post-metadata">

**Author:** ![VRF](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VRF](https://forums.unrealengine.com/u/VRF)\
**Post date:** [April 29, 2014, 11:20pm UTC](https://forums.unrealengine.com/t/how-do-i-get-my-weapon-to-show-in-game/278063/2 "2014-04-29T23:20:53Z")

</div>

You have to go to your blueprints components.  
Add the item in there.  
Then when in components drop it ontop of your actor. (So it becomes a child)  
From there you then put it on the socket in the mesh details.

Let me know if you can get it done.  
If not.  
Then i will add some more description.

---

<div class="post-metadata">

**Author:** ![reedandrader](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@reedandrader](https://forums.unrealengine.com/u/reedandrader)\
**Post date:** [July 28, 2014, 9:15pm UTC](https://forums.unrealengine.com/t/how-do-i-get-my-weapon-to-show-in-game/278063/3 "2014-07-28T21:15:14Z")

</div>

Can we get some more clarification to this answer? I’m having the same trouble and cannot figure this out. Thanks.

---

<div class="post-metadata">

**Author:** ![Nonlin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nonlin](https://forums.unrealengine.com/u/Nonlin)\
**Post date:** [April 10, 2018, 2:59pm UTC](https://forums.unrealengine.com/t/how-do-i-get-my-weapon-to-show-in-game/278063/4 "2018-04-10T14:59:04Z")

</div>

The preview mesh of your weapon you added there is only a preview to allow you to tweak your sockets rotation/location till it looks right.

Once you’ve adjusted your sockets transform values you need to actually spawn the weapon and attach to the right socket.

Look at the node AttachToComponent and give the right socket name that matches the socket you created.
