# Inverse third person character movement.

**URL:** <https://forums.unrealengine.com/t/inverse-third-person-character-movement/2651615>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [August 28, 2025, 2:52am UTC](https://forums.unrealengine.com/t/inverse-third-person-character-movement/2651615 "2025-08-28T02:52:17Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![denberZ1507](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@denberZ1507](https://forums.unrealengine.com/u/denberZ1507)\
**Post date:** [August 28, 2025, 2:52am UTC](https://forums.unrealengine.com/t/inverse-third-person-character-movement/2651615/1 "2025-08-28T02:52:18Z")

</div>

Wondering how I can inverse the player’s input for a moment. (1 second) So W = S and A = D for a specified time. e.g I have a function and I call it to inverse the player’s movement so when pressing W I will walk backward and S I will walk forwards. Then once the second is up, the regular mappings are restored. Any help on how to do this would be very appreciated. I’m quite new to blueprints just so you know 🙂 Thanks!!

---

<div class="post-metadata">

**Author:** ![Rev0verDrive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rev0verdrive/32/907214_2.png) [@Rev0verDrive](https://forums.unrealengine.com/u/Rev0verDrive)\
**Post date:** [August 28, 2025, 3:49am UTC](https://forums.unrealengine.com/t/inverse-third-person-character-movement/2651615/2 "2025-08-28T03:49:04Z")

</div>

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

Or use the `Negate` Node

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/1/c/41cc3b14cef548f3c024c042a389f681d32d4dd1.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/b/8/fb8ad19e08d04581496d51a93f58150c24a87e9a.png)

Just toggle the `Inverse Movement Input` variable as needed.

---

<div class="post-metadata">

**Author:** ![denberZ1507](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@denberZ1507](https://forums.unrealengine.com/u/denberZ1507)\
**Post date:** [August 28, 2025, 2:50pm UTC](https://forums.unrealengine.com/t/inverse-third-person-character-movement/2651615/3 "2025-08-28T14:50:39Z")

</div>

Oh thanks for this, will try it in a bit! 🙂

---

<div class="post-metadata">

**Author:** ![denberZ1507](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@denberZ1507](https://forums.unrealengine.com/u/denberZ1507)\
**Post date:** [August 28, 2025, 3:58pm UTC](https://forums.unrealengine.com/t/inverse-third-person-character-movement/2651615/4 "2025-08-28T15:58:39Z")

</div>

So this didn’t work for me. (in the video, “InverseMovement” is set to false) Upon pressing any key, (WASD) it will move forward in the direction of the camera. I want the player to be able to press A and it will act as D. Or W will act as S. Regardless of camera direction. Base third person character movement but the keys are opposite for a moment. (most suitably an event or function) Also during this video, I am pressing every key and it will only move forward to where the camera is pointed.

---

<div class="post-metadata">

**Author:** ![denberZ1507](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@denberZ1507](https://forums.unrealengine.com/u/denberZ1507)\
**Post date:** [August 28, 2025, 4:04pm UTC](https://forums.unrealengine.com/t/inverse-third-person-character-movement/2651615/5 "2025-08-28T16:04:33Z")

</div>

In this video “Inversemovment” is set to true. I cannot move 😕

---

<div class="post-metadata">

**Author:** ![Rev0verDrive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rev0verdrive/32/907214_2.png) [@Rev0verDrive](https://forums.unrealengine.com/u/Rev0verDrive)\
**Post date:** [August 28, 2025, 5:29pm UTC](https://forums.unrealengine.com/t/inverse-third-person-character-movement/2651615/6 "2025-08-28T17:29:08Z")

</div>

Works on my end exactly as it should.

Movement take a float of 1, 0, or -1.

Forward/Backward: 1 = Forward, -1 Backward

Inversing a 1 would output -1, thus backward.

Same applies to Right/Left.

1 = Right, -1 = Left

---

<div class="post-metadata">

**Author:** ![denberZ1507](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@denberZ1507](https://forums.unrealengine.com/u/denberZ1507)\
**Post date:** [August 28, 2025, 5:33pm UTC](https://forums.unrealengine.com/t/inverse-third-person-character-movement/2651615/7 "2025-08-28T17:33:54Z")

</div>

ill try with a plain default character and see. Also your “X” and “Y” variables are default set to 1, yes? And a difference I see with yours and mine is that my variables do not have the “f” on the right corner. I’m assuming it’s a function variable. Do you promote “x” and “y” from the function itself as variables or do you just create 2 new float variables named “x” and “y”

When I make the variables while inside the function they will be normal variables without an “F”

---

<div class="post-metadata">

**Author:** ![Rev0verDrive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rev0verdrive/32/907214_2.png) [@Rev0verDrive](https://forums.unrealengine.com/u/Rev0verDrive)\
**Post date:** [August 28, 2025, 5:37pm UTC](https://forums.unrealengine.com/t/inverse-third-person-character-movement/2651615/8 "2025-08-28T17:37:50Z")

</div>

X/Y are 0.0 by default. They are directly passed from the IA Event.

I’m running 5.5, the UI has been overhauled in it so that Function local vars do get that _F._

This works in all versions of UE.

---

<div class="post-metadata">

**Author:** ![denberZ1507](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@denberZ1507](https://forums.unrealengine.com/u/denberZ1507)\
**Post date:** [August 28, 2025, 5:40pm UTC](https://forums.unrealengine.com/t/inverse-third-person-character-movement/2651615/9 "2025-08-28T17:40:09Z")

</div>

Alright, ill try it with a blank project. I’ll let you know in a minute

---

<div class="post-metadata">

**Author:** ![Rev0verDrive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rev0verdrive/32/907214_2.png) [@Rev0verDrive](https://forums.unrealengine.com/u/Rev0verDrive)\
**Post date:** [August 28, 2025, 5:42pm UTC](https://forums.unrealengine.com/t/inverse-third-person-character-movement/2651615/10 "2025-08-28T17:42:03Z")

</div>

X and Y are function parameters (inputs). They are treated as local vars of the function.

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

---

<div class="post-metadata">

**Author:** ![denberZ1507](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@denberZ1507](https://forums.unrealengine.com/u/denberZ1507)\
**Post date:** [August 28, 2025, 5:52pm UTC](https://forums.unrealengine.com/t/inverse-third-person-character-movement/2651615/11 "2025-08-28T17:52:54Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/c/d/bcde509d1544cd756b52fa21fe8763cebc31761f.png)Still isn’t working for some reason. The bool is set to true in this image and player cannot move at all with (WASD)

---

<div class="post-metadata">

**Author:** ![denberZ1507](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@denberZ1507](https://forums.unrealengine.com/u/denberZ1507)\
**Post date:** [August 28, 2025, 5:53pm UTC](https://forums.unrealengine.com/t/inverse-third-person-character-movement/2651615/12 "2025-08-28T17:53:49Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/5/9/b59f1880600af32b1f4756ed3bb67821cdf8b726.png)default value for the function’s inputs (xy) are 0

---

<div class="post-metadata">

**Author:** ![Rev0verDrive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rev0verdrive/32/907214_2.png) [@Rev0verDrive](https://forums.unrealengine.com/u/Rev0verDrive)\
**Post date:** [August 28, 2025, 5:56pm UTC](https://forums.unrealengine.com/t/inverse-third-person-character-movement/2651615/13 "2025-08-28T17:56:20Z")

</div>

Here’s mine

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/8/0/5808afa422e89220b3173158e0d0848939ca6f7e.png)

---

<div class="post-metadata">

**Author:** ![Rev0verDrive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rev0verdrive/32/907214_2.png) [@Rev0verDrive](https://forums.unrealengine.com/u/Rev0verDrive)\
**Post date:** [August 28, 2025, 6:01pm UTC](https://forums.unrealengine.com/t/inverse-third-person-character-movement/2651615/14 "2025-08-28T18:01:26Z")

</div>

How are you retrieving X and Y in the function graph?

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

---

<div class="post-metadata">

**Author:** ![denberZ1507](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@denberZ1507](https://forums.unrealengine.com/u/denberZ1507)\
**Post date:** [August 28, 2025, 6:01pm UTC](https://forums.unrealengine.com/t/inverse-third-person-character-movement/2651615/15 "2025-08-28T18:01:37Z")

</div>

Hmmm… strange why it isn’t working. Just to make sure as well, here’s my event graph for my third person char

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/1/4/214435fb84e8352883516169a995bf08e85b0b6c.png)

---

<div class="post-metadata">

**Author:** ![denberZ1507](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@denberZ1507](https://forums.unrealengine.com/u/denberZ1507)\
**Post date:** [August 28, 2025, 6:18pm UTC](https://forums.unrealengine.com/t/inverse-third-person-character-movement/2651615/16 "2025-08-28T18:18:04Z")

</div>

Haha! I was getting the wrong variable all along. My bad, thanks so much for the help!! Very appreciated

---

<div class="post-metadata">

**Author:** ![Rev0verDrive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rev0verdrive/32/907214_2.png) [@Rev0verDrive](https://forums.unrealengine.com/u/Rev0verDrive)\
**Post date:** [August 28, 2025, 6:41pm UTC](https://forums.unrealengine.com/t/inverse-third-person-character-movement/2651615/17 "2025-08-28T18:41:04Z")

</div>

That’s what I figured and why I posted the `Get X` image
