# Attach actor to component, returns true, but actor stays unchanged 

**URL:** <https://forums.unrealengine.com/t/attach-actor-to-component-returns-true-but-actor-stays-unchanged/2739239>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [July 29, 2026, 3:18pm UTC](https://forums.unrealengine.com/t/attach-actor-to-component-returns-true-but-actor-stays-unchanged/2739239 "2026-07-29T15:18:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Headless888](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Headless888](https://forums.unrealengine.com/u/Headless888)\
**Post date:** [July 29, 2026, 3:18pm UTC](https://forums.unrealengine.com/t/attach-actor-to-component-returns-true-but-actor-stays-unchanged/2739239/1 "2026-07-29T15:18:24Z")

</div>

Hello! I have been raking my brain since yesterday about this. I have even tried creating a new project but the attach to actor function still doesn’t seem to work (surely some sort of simple minor thing that I am missing). I basically need the player to be able to pick up an object and then place it somewhere, and it seems like Attach actor to component function is exactly what I would need for that, but no matter what it just doesn’t seem to do anything to the actor I’m trying to attach, added a print string afterwards and it returns attachment as true (and yes I have tried changing all the enums in the function, tried placing the blueprint in the actor I’m trying to attach instead of the PC, created a new project and none of it works- please help :,))

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/e/4/9e465686fb62c5ece887c75fe26a91a2683b3e66.png)

player Blueprint

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/3/0/f304c09bc05070c47ccf02c83dbd02f7751a50a6.png)

actor that I’m trying to attach

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/e/c/becc03f9b0a6ad952bc911aa3bd68ff263b53458.jpeg)

print string return in pink for this function (the other true is for overlap)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/4/f/d4ff41c3e5a63a457423605a6a935145f832e706.png)

socket

---

<div class="post-metadata">

**Author:** ![BRGEzedeRocco](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brgezederocco/32/1216890_2.png) [@BRGEzedeRocco](https://forums.unrealengine.com/u/BRGEzedeRocco)\
**Post date:** [July 29, 2026, 7:02pm UTC](https://forums.unrealengine.com/t/attach-actor-to-component-returns-true-but-actor-stays-unchanged/2739239/2 "2026-07-29T19:02:08Z")

</div>

Hello @Headless888 ,Welcome to the forums!

In this example, I used a Sphere Collision component as the reference object. First, I applied the following settings in the Details panel, under the Collision section. Then, I replaced the DefaultSceneRoot with the Sphere Collision component, making it the new Root Component, as this helps prevent collision issues later on.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/c/2/7c289c4bf50e1c65da61092b3f6a8a5663b464f7.png)

Next, I applied the following settings to the Static Mesh (in this case, a sphere).

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/d/a/0daca176e78cbb0b5ecb28d6c3d215b6871cbf51.png)

Inside the Event Graph, we’ll create a Boolean variable called bIsGrabbed and two Custom Events: one for the Grab logic and another for the Drop logic.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/b/d/3bdc062916bff03b4d3c7fc4268e7498e8a91fd6.png)  
( If you don’t want the object to have physics, simply remove the **Set Simulate Physics** node.)  
Both events will have an input that stores a reference to our character. In this example, I’m using the Third Person Template, so the input type is BP\_ThirdPersonCharacter Object.  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/e/b/eeb44cb7accacb7004ae5b9a26cb1191ef56518c.png)

OnGrab

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/3/0/630b4c2c5d123e617b4b75b4adeef41b1a551dee.png)  
OnDrop  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/2/7/c2771078e95c9bf943b98a07f9c5efae4060e1e9.png)

After that, we’ll create two Input Actions, one for Grab

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/e/3/6e314ce750d590e50dad616095a5cb200a064188.png)  
and one for Drop,  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/4/5/f45589c42b42c932de3df758569347b6364e56cc.png)

and add them to the IMC\_Default. In this example, I used the same key for both actions: pressing the key once grabs the object, while holding it for 0.2 seconds drops it. If you prefer, you can also use two different keys and set both Input Actions to use the Pressed trigger.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/7/0/77098401e1e73cac9b5281a33d3f6b252c1ce01f.png)

Then inside BP\_ThirdPersonCharacter, we’ll create two variables: a Boolean called bHasObject, and another variable that stores a reference to the object currently being held. This ensures that the player can only hold one object at a time. In my case, I named it CurrentObjectInHand, and its type is BP\_Object, which is the name of the object’s Blueprint.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/b/b/7bbcf96b25689303396b7130dc1abd9902014569.png)

Next, we’ll create two Custom Events that will be responsible for calling the events we previously created inside BP\_Object.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/e/e/6ee1638e8ec2245152478fc9563ebb89c33e27ef.png)

To finish, we’ll add the corresponding logic to each Input Action. For the Grab action, we’ll perform a Sphere Trace to detect and interact with the object. If the trace hits a BP\_Object, we’ll call the Grab event. On the other hand, if the character is already holding an object, we’ll call the Drop event to release it.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/4/3/4433d4834806faea3819eaea641281bf83f5bee5.png)

I also recommend checking out this [video](https://www.youtube.com/watch?v=bzT3Cc5UgGk), which explains another way to create a Pickup, Carry, and Drop System that you might find useful.

Hope it helps!

---

<div class="post-metadata">

**Author:** ![Headless888](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Headless888](https://forums.unrealengine.com/u/Headless888)\
**Post date:** [July 29, 2026, 8:34pm UTC](https://forums.unrealengine.com/t/attach-actor-to-component-returns-true-but-actor-stays-unchanged/2739239/3 "2026-07-29T20:34:27Z")

</div>

Hello! Thank you so much for your reply! It seems to work now (although not entirely as I would’ve hoped but I’ll figure it out-) do you know then if the problem was the hierarchy? The problem is that I would like for the object to have physics enabled in the beginning, but somehow the collision needs to move with the object as well.. do you perhaps have a solution or any advice for that?

---

<div class="post-metadata">

**Author:** ![BRGEzedeRocco](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brgezederocco/32/1216890_2.png) [@BRGEzedeRocco](https://forums.unrealengine.com/u/BRGEzedeRocco)\
**Post date:** [July 30, 2026, 3:31pm UTC](https://forums.unrealengine.com/t/attach-actor-to-component-returns-true-but-actor-stays-unchanged/2739239/4 "2026-07-30T15:31:07Z")

</div>

Hello again @Headless888 ,  
Yes, that’s definitely possible. It could be that the object was moving while the collision stayed behind, or vice versa, which would explain the behavior you were seeing.

As for having the object start with physics enabled, you simply need to enable Simulate Physics on the object from the beginning. That should make it start simulating physics as soon as the game begins.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/a/a/4aafa576150624e69f67a9d501642366c287a02a.png)

If you run into collision issues, it could be because the actor is colliding with the player’s capsule, causing it to be pushed away or launched. To verify that everything is set up correctly, you can use the Show Collision console command to visualize all collision shapes in the level.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/8/1/3815351324c84d140c8667475d45ac03b714b590.jpeg)

You may also need to position the bone (or the point where the object is being held) outside of the player’s collision capsule. You’ll probably need to experiment a bit to see which solution works best for your setup.

Another thing that might help—and honestly what I think will work best in your case—is using a Physics Handle. I’ll leave you a forum post where I explain how to use it with an example, as well as a [video](https://www.youtube.com/watch?v=k6oKBVRaLLo) that you might find useful.

> [@how can i lock rotation in PhysicHandleComponent?](https://forums.unrealengine.com/t/how-can-i-lock-rotation-in-physichandlecomponent/2721640/2):
>
> Hello @prtlsplay ,Welcome to the forum! I’m leaving you a possible solution for this, so you could try the following: First, there’s no need to use Is Simulating Physics, since the Physics Handle already assumes that the object has active physics. It is responsible for grabbing components with simulated physics and moving them. If the object didn’t have physics simulation enabled, the Physics Handle simply would not work with it. Then, you are going to create a boolean variable which, in this…

If you have any other questions or run into any issues, don’t hesitate to create another post on the forum!. The community will be happy to help you!  
Hope it helps!

---

<div class="post-metadata">

**Author:** ![Headless888](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Headless888](https://forums.unrealengine.com/u/Headless888)\
**Post date:** [August 2, 2026, 9:02am UTC](https://forums.unrealengine.com/t/attach-actor-to-component-returns-true-but-actor-stays-unchanged/2739239/5 "2026-08-02T09:02:46Z")

</div>

@BRGEzedeRocco Sorry I only just saw this! Thank you so so much for all your help! I was very stumped on this and now I have an idea on how to move forward! Thank you!!
