# Attaching object to AI character's socket runtime

**URL:** <https://forums.unrealengine.com/t/attaching-object-to-ai-characters-socket-runtime/444139>\
**Category:** AI\
**Tags:** ai-navigation, object-picker, socket-reference, unreal-engine, UE4, Blueprint, question\
**Created:** [February 25, 2019, 9:11pm UTC](https://forums.unrealengine.com/t/attaching-object-to-ai-characters-socket-runtime/444139 "2019-02-25T21:11:56Z")\
**Posts on this page:** 1\
**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:** [February 25, 2019, 9:11pm UTC](https://forums.unrealengine.com/t/attaching-object-to-ai-characters-socket-runtime/444139/1 "2019-02-25T21:11:56Z")

</div>

My player character “meets” AI character and is supposed to “give” him an object.  
I created a socket on the AI character skeleton (that’s same as my player, by the way), then I try to spawn the object and attach it to AI character.  
I tried to do so in different blueprints (such as Player BP, AI character BP, Object BP). I face issues in finding the object for “cast to” nodes.  
In addition I don’t know which "transform coordinates to choose in Spawn node.

The results are weird. I started wonder if there are such things ever possible? Maybe I should learn more about the communication between different BP? Maybe dispatchers will help? Or perhaps, AI characters are not supposed to “pick” things from players?

Please clarify!
