# Set Actor Location not working for my character.

**URL:** <https://forums.unrealengine.com/t/set-actor-location-not-working-for-my-character/774105>\
**Category:** Blueprint\
**Tags:** unreal-engine, question, Blueprint\
**Created:** [February 19, 2023, 4:06pm UTC](https://forums.unrealengine.com/t/set-actor-location-not-working-for-my-character/774105 "2023-02-19T16:06:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![coldsolarknight](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/coldsolarknight/32/88708_2.png) [@coldsolarknight](https://forums.unrealengine.com/u/coldsolarknight)\
**Post date:** [February 19, 2023, 4:06pm UTC](https://forums.unrealengine.com/t/set-actor-location-not-working-for-my-character/774105/1 "2023-02-19T16:06:21Z")

</div>

I have been working on my simple portal gun project, and I need to teleport my character from A to B, but it only teleport my character from A to A, and other objects are ok. What’s wrong with it…

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

---

<div class="post-metadata">

**Author:** ![coldsolarknight](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/coldsolarknight/32/88708_2.png) [@coldsolarknight](https://forums.unrealengine.com/u/coldsolarknight)\
**Post date:** [February 19, 2023, 4:07pm UTC](https://forums.unrealengine.com/t/set-actor-location-not-working-for-my-character/774105/2 "2023-02-19T16:07:01Z")

</div>

Is anything Im missing? Something about physics?

---

<div class="post-metadata">

**Author:** ![Yaklakootmaa2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/yaklakootmaa2/32/1194607_2.png) [@Yaklakootmaa2](https://forums.unrealengine.com/u/Yaklakootmaa2)\
**Post date:** [February 19, 2023, 5:42pm UTC](https://forums.unrealengine.com/t/set-actor-location-not-working-for-my-character/774105/3 "2023-02-19T17:42:05Z")

</div>

Probably the cast to FirstPersonCharacter fails every time.

---

<div class="post-metadata">

**Author:** ![High500](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/high500/32/906557_2.png) [@High500](https://forums.unrealengine.com/u/High500)\
**Post date:** [February 19, 2023, 5:47pm UTC](https://forums.unrealengine.com/t/set-actor-location-not-working-for-my-character/774105/4 "2023-02-19T17:47:57Z")

</div>

hey @coldsolarknight

Its a rather strange do once loop for an event, is that really needed?

Anyway not really what you asked. As @Yaklakootmaa2 stated its most likely the cast failed.

Maybe put a print node on the Cast Failed Pin to test the theory.

BUT! That said do you need the cast at all? Can you not just Set Actor Location?  
Without casting? as the input node on the event does say “Other Actor” after all!

Hope this helps

---

<div class="post-metadata">

**Author:** ![Xiontheman1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xiontheman1](https://forums.unrealengine.com/u/Xiontheman1)\
**Post date:** [February 19, 2023, 7:53pm UTC](https://forums.unrealengine.com/t/set-actor-location-not-working-for-my-character/774105/5 "2023-02-19T19:53:54Z")

</div>

could you help with my post?? [Need help with my swipe controlls.](https://forums.unrealengine.com/t/need-help-with-my-swipe-controlls/774202)
