# set component location not working

**URL:** <https://forums.unrealengine.com/t/set-component-location-not-working/2840228>\
**Category:** Programming & Scripting\
**Tags:** beginner, unreal-engine, question, Blueprint\
**Created:** [October 14, 2026, 1:45am UTC](https://forums.unrealengine.com/t/set-component-location-not-working/2840228 "2026-10-14T01:45:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zander\_Lawrence](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zander\_Lawrence](https://forums.unrealengine.com/u/Zander_Lawrence)\
**Post date:** [October 14, 2026, 1:45am UTC](https://forums.unrealengine.com/t/set-component-location-not-working/2840228/1 "2026-10-14T01:45:12Z")

</div>

I have a blueprint that says if player overlaps with a collision sphere, a component from that blueprint (An object and a collision cube inside it) has its location set and should be teleported elsewhere. But the object stays where it started and it doesn´t go to the location it should, even though the rest of the commands work properly.

Any ideas on whats the problem and how to fix it?

---

<div class="post-metadata">

**Author:** ![DorrealArt](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dorrealart/32/1211568_2.png) [@DorrealArt](https://forums.unrealengine.com/u/DorrealArt)\
**Post date:** [October 14, 2026, 2:19am UTC](https://forums.unrealengine.com/t/set-component-location-not-working/2840228/2 "2026-10-14T02:19:50Z")

</div>

Hi!

One thing I’d check is the actor reference you’re using in your `OnActorBeginOverlap` event.

The event has two actor outputs:

- `Overlapped Actor`: the actor whose overlap event is firing, usually the actor containing the trigger.

- `Other Actor`: the actor entering the overlap, in your case presumably the player.

If you’re checking for the player or using the overlapping actor to drive your logic, make sure you’re using the correct reference. You can connect `Other Actor`

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/9/f/99f16a7362cdacc274542a90affd769d104ae0c2.png)

If you’ve already doing this, could you share the actual Blueprint logic that’s supposed to move the object, including the location setting nodes? The screenshot of the overlap logic helps, but seeing the full chain would let us diagnose the problem more precisely.

---

<div class="post-metadata">

**Author:** ![ChenDong](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ChenDong](https://forums.unrealengine.com/u/ChenDong)\
**Post date:** [October 14, 2026, 5:49am UTC](https://forums.unrealengine.com/t/set-component-location-not-working/2840228/3 "2026-10-14T05:49:46Z")

</div>

DorrealArt’s check on Other Actor is the right first step. If the overlap path is already correct and the rest of the chain still runs, the usual reason Set World / Set Relative Location “does nothing” is that the component is not free to move.

Check these in order:

1. **Mobility** – Select the mesh + collision cube you are teleporting. In Details → Transform, Mobility must be **Movable**. If it is Static (or the parent actor is Static), the set-location call is ignored at runtime even though the Blueprint compiles and the rest of the graph fires.

2. **Relative vs world** – If that component is still attached to the actor root (default), `Set World Location` moves it in world space for one frame, then the attachment can snap it back relative to the root on the next tick. Prefer either:

3. **Physics** – If Simulate Physics is on for the mesh or the cube, `Set … Location` fights the physics body. Either turn Simulate Physics off for the teleport, or use `Set World Location` on the primitive with **Teleport** / `SetAllPhysicsPosition` / disable simulation for a frame.

4. **What you are actually moving** – Make sure the target pin is the component you think it is (the child mesh/cube), not a different instance. Print `Get World Location` before and after the set on that same component reference; if the printed value never changes, the pin is wrong or Mobility/physics is blocking it.

5. **Collision cube inside a mesh component** – Nested components inherit the parent’s transform. Moving only the outer mesh and expecting the cube (if it is a separate component) to follow only works if the cube is a child of that mesh. If both are siblings under the root, move both, or parent the cube under the mesh.

Quick test: temporarily call `Set Actor Location` on `self` to a known spot in the same event. If the actor jumps but the child still does not, it is almost certainly Mobility, attachment, or physics on that child.

---

<div class="post-metadata">

**Author:** ![Zander\_Lawrence](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zander\_Lawrence](https://forums.unrealengine.com/u/Zander_Lawrence)\
**Post date:** [October 14, 2026, 7:32pm UTC](https://forums.unrealengine.com/t/set-component-location-not-working/2840228/4 "2026-10-14T19:32:22Z")

</div>

![BlueprintLocation](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/8/b/78bd1e4b4d0bdf9c72378c231b6f96a3b9b36a00.png)

I checked all of these and they seem to be right. I tried the quick test too but neither the actor nor the component moved. Then I tried moving the player in that same event and it acted like he was being moved to the component and overlapping with its trigger, event though I was moving him to the other side of the map, so I´m very confused.

Anyway, here´s a screenshot from the blueprint.

---

<div class="post-metadata">

**Author:** ![DorrealArt](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dorrealart/32/1211568_2.png) [@DorrealArt](https://forums.unrealengine.com/u/DorrealArt)\
**Post date:** [October 14, 2026, 11:01pm UTC](https://forums.unrealengine.com/t/set-component-location-not-working/2840228/5 "2026-10-14T23:01:16Z")

</div>

I tried reproducing your setup in a test level, and your logic works correctly on my end. I also experimented with different component hierarchies, including changing the Default Scene Root, but the component still moves as expected.

Try adding these Print String nodes shown below to verify that the character cast succeeds and that execution reaches the Branch and the location-setting node. So far, I haven’t found an issue with that logic.

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

If all checks out and it still doesn’t move, another possibility worth investigating is whether another piece of logic in your project is setting the component’s location elsewhere. I was able to reproduce a similar symptom by having a second piece of logic override the location on the event tick.

To check this, try printing the component’s world location immediately after `Set World Location and Rotation`. If it reports the new coordinates, but the component remains in its original position or returns there afterward, something else may be changing its transform. You could also search your Blueprints for other nodes that modify the location of this component or its parent.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/e/0/ce0ad8f979dc38c03b309217950752d3ef20fda6.png)

If the printed location never changes, then we’ll need to investigate further, but at least this should help eliminate the second logic possibility.

---

<div class="post-metadata">

**Author:** ![Zander\_Lawrence](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zander\_Lawrence](https://forums.unrealengine.com/u/Zander_Lawrence)\
**Post date:** [October 15, 2026, 7:03pm UTC](https://forums.unrealengine.com/t/set-component-location-not-working/2840228/6 "2026-10-15T19:03:05Z")

</div>

The first print string after casting to player printed: TP cast check TP cast check TP cast check. So the cast didn´t fail, but it printed 3 times for some reason.

The second one after the branch printed 3 times too and it said: false false true. But that variable should start unchecked, and the rest of the branch is executed, so I don´t know why it would be false…

The third one printed the correct location where the component should be teleported to, but when I go to that location, I can´t see him there and his collision box doesn´t trigger anything when the player should be touching it. So I don´t know what´s going on.

---

<div class="post-metadata">

**Author:** ![DorrealArt](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dorrealart/32/1211568_2.png) [@DorrealArt](https://forums.unrealengine.com/u/DorrealArt)\
**Post date:** [October 15, 2026, 8:18pm UTC](https://forums.unrealengine.com/t/set-component-location-not-working/2840228/7 "2026-10-15T20:18:28Z")

</div>

The unexpected Boolean values strengthen the suspicion that something else in your Blueprint might be interfering with the logic.

To see if the boolean check causes the problem, bypass the “Croc Chase” Branch temporarily and connect casting directly to “Set World Location and Rotation”.

If that changes nothing, keep printing the world location of the component immediately after “Set World Location and Rotation”, then again after a “Delay” of 1 second.

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

If the location changes between those two checks, something is modifying its transform afterward. It could be another piece of logic triggered when “Croc Chase” becomes true, for example.

If thats the case, you should find what else has a reference to crocs or this blueprint and try disconnecting one at a time to find the culprit.

If you can’t identify the cause, I’d try creating a completely fresh Actor Blueprint that isn’t referenced by any other logic. Give it just the trigger, the static mesh, and the movement logic we’ve discussed. Test that in an otherwise empty level.
