# Add Movement Input's scale value is capped to 1 or -1?

**URL:** <https://forums.unrealengine.com/t/add-movement-inputs-scale-value-is-capped-to-1-or-1/372319>\
**Category:** Character & Animation\
**Tags:** unreal-engine, speed, Blueprint, question\
**Created:** [October 3, 2016, 12:30pm UTC](https://forums.unrealengine.com/t/add-movement-inputs-scale-value-is-capped-to-1-or-1/372319 "2016-10-03T12:30:18Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miksu112](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Miksu112](https://forums.unrealengine.com/u/Miksu112)\
**Post date:** [October 3, 2016, 12:30pm UTC](https://forums.unrealengine.com/t/add-movement-inputs-scale-value-is-capped-to-1-or-1/372319/1 "2016-10-03T12:30:18Z")

</div>

The character doesn’t move faster than 1 if it is set to anything bigger than 1.

 ![109472-nimetön.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/c/9/7c9a65a052cc5a078b30b5f878e7d4fac871cf68.png)

Even if I change the input value, nothing is changed. If I multiply in it events, nothing. If I just use a float set to something high instead on inputAxis, still the same speed.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_61b4a355](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_61b4a355](https://forums.unrealengine.com/u/anonymous_user_61b4a355)\
**Post date:** [October 3, 2016, 1:06pm UTC](https://forums.unrealengine.com/t/add-movement-inputs-scale-value-is-capped-to-1-or-1/372319/2 "2016-10-03T13:06:38Z")

</div>

Hey Miksu112,

The movement speed of a Character won’t change if the input value is outside of the -1 to 1 range. If you want to change the movement speed, look at the CharacterMovementComponent and look for MaxWalkSpeed. This value will allow you to adjust how quickly the Character moves.

---

<div class="post-metadata">

**Author:** ![Miksu112](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Miksu112](https://forums.unrealengine.com/u/Miksu112)\
**Post date:** [October 3, 2016, 1:11pm UTC](https://forums.unrealengine.com/t/add-movement-inputs-scale-value-is-capped-to-1-or-1/372319/3 "2016-10-03T13:11:22Z")

</div>

Changing the MaxWalkSpeed does nothing. And I have set that player controller to the default in the game mode.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_61b4a355](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_61b4a355](https://forums.unrealengine.com/u/anonymous_user_61b4a355)\
**Post date:** [October 3, 2016, 1:13pm UTC](https://forums.unrealengine.com/t/add-movement-inputs-scale-value-is-capped-to-1-or-1/372319/4 "2016-10-03T13:13:05Z")

</div>

The Character class is what has the CharacterMovementComponent. Make sure that your GameMode has the Character set for the DefaultPawnClass.

---

<div class="post-metadata">

**Author:** ![Miksu112](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Miksu112](https://forums.unrealengine.com/u/Miksu112)\
**Post date:** [October 3, 2016, 1:30pm UTC](https://forums.unrealengine.com/t/add-movement-inputs-scale-value-is-capped-to-1-or-1/372319/5 "2016-10-03T13:30:10Z")

</div>

The player is just flying. Help?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_61b4a355](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_61b4a355](https://forums.unrealengine.com/u/anonymous_user_61b4a355)\
**Post date:** [October 3, 2016, 1:36pm UTC](https://forums.unrealengine.com/t/add-movement-inputs-scale-value-is-capped-to-1-or-1/372319/6 "2016-10-03T13:36:36Z")

</div>

You probably set the DefaultPawnClass to the DefaultPawn, which will “fly”.

Here is how to setup a Character:

[https://docs.unrealengine.com/latest/INT/Engine/Animation/CharacterSetupOverview/](https://docs.unrealengine.com/latest/INT/Engine/Animation/CharacterSetupOverview/)

---

<div class="post-metadata">

**Author:** ![Miksu112](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Miksu112](https://forums.unrealengine.com/u/Miksu112)\
**Post date:** [October 3, 2016, 1:51pm UTC](https://forums.unrealengine.com/t/add-movement-inputs-scale-value-is-capped-to-1-or-1/372319/7 "2016-10-03T13:51:10Z")

</div>

But I have my Character there already, the problem is I can’t change his speed.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_61b4a355](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_61b4a355](https://forums.unrealengine.com/u/anonymous_user_61b4a355)\
**Post date:** [October 3, 2016, 1:58pm UTC](https://forums.unrealengine.com/t/add-movement-inputs-scale-value-is-capped-to-1-or-1/372319/8 "2016-10-03T13:58:29Z")

</div>

Have you setup your character, as described in the CharacterSetupOverview?

---

<div class="post-metadata">

**Author:** ![Miksu112](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Miksu112](https://forums.unrealengine.com/u/Miksu112)\
**Post date:** [October 3, 2016, 4:00pm UTC](https://forums.unrealengine.com/t/add-movement-inputs-scale-value-is-capped-to-1-or-1/372319/9 "2016-10-03T16:00:09Z")

</div>

Probably. Now I deleted my character to test if creating a new character and redoing everything will work, and now I can’t undo the deletion. No wonder most people use Unity.

---

<div class="post-metadata">

**Author:** ![Miksu112](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Miksu112](https://forums.unrealengine.com/u/Miksu112)\
**Post date:** [October 3, 2016, 5:13pm UTC](https://forums.unrealengine.com/t/add-movement-inputs-scale-value-is-capped-to-1-or-1/372319/10 "2016-10-03T17:13:18Z")

</div>

Why did you accept this answer as the correct answer? It hasn’t solved anything yet.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_61b4a355](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_61b4a355](https://forums.unrealengine.com/u/anonymous_user_61b4a355)\
**Post date:** [October 3, 2016, 5:16pm UTC](https://forums.unrealengine.com/t/add-movement-inputs-scale-value-is-capped-to-1-or-1/372319/11 "2016-10-03T17:16:32Z")

</div>

The answer is to follow the Character Setup Overview. When I asked if you had followed this, you said “probably”, leading me to believe that you solved the issue before you intentionally deleted it.

What else do you need help with?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_61b4a355](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_61b4a355](https://forums.unrealengine.com/u/anonymous_user_61b4a355)\
**Post date:** [October 3, 2016, 6:02pm UTC](https://forums.unrealengine.com/t/add-movement-inputs-scale-value-is-capped-to-1-or-1/372319/12 "2016-10-03T18:02:07Z")

</div>

This is how you’d adjust Character walk speeds:

Start by setting up the Input, you can do this by going to Edit → Project Settings → Input:

![109527-499966_input.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/e/c/cec022537ba0f16744d0d06ed8bf9eba850f6ad2.png)

Next, in your Content Browser, create a GameMode Blueprint class. You can do this by right-clicking in the content browser and choosing, “Blueprint Class”. Left click on “Game Mode”. Name it something, such as, GameMode\_BP.

Next, right click in the Content Browser again and make another Blueprint Class, again by choosing, “Blueprint Class”. This time, choose “Character” from the window. Name it something, such as, Character\_BP.

Then, double-click on the GameMode\_BP and under “Default Pawn Class”, change the drop down to whatever you name your Character Blueprint Class ( Character\_BP ).

 ![109528-499966_game.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/2/b/52ba55d388d82832081a0da7495aeefe61469fd2.png)

Next, double click your Character Blueprint Class ( Character\_BP ) and select the “Viewport” Tab. Then, left-click on the Mesh and on the right side, under “Mesh”, left click the drop-down for Skeletal Mesh and in that window, left-click on the eye icon that says, “VIew Options”, choose, “Show Engine Content”

![109530-499966_enginecontent.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/5/e/15e55de54be6c1b0e8ce99df52a02c6a3c277081.png)

Then, select, “TutorialTPP”. Then, with the Mesh still selected, move it down 90 units (on the Z Axis), then rotate it -90 degrees on Yaw Axis. Still with the Mesh selected, under “Animation”, change the Anim Class from None to “TutorialTPP\_Animblueprint”.

Next, on the top left, add a Spring Arm Component by clicking the Add Component button (in green) and selecting Spring Arm. The, do the same thing and add a Camera Component. Then, when the Camera Component is added, left-click on it and hold, then drag it over the Spring Arm Component.

Next Select the Spring Arm Component and move it where you want it.

With the Character Blueprint still open, select the “Event Graph” tab and add the following:

 ![109541-499966_character.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/3/3/333059a160f34bdc2716cea6c326f520922bc4a6.jpeg)

Lastly, back in the Level viewport, in the “World Settings” tab, change the GameMode Override to the GameMode Blueprint ( GameMode\_BP ).

If you press the Play button and then run around, when you press and hold the left-shift key, you will run 4x as fast. When you let go of the left-shift key, you will go back to normal.

Here is a link to download a project doing the exact same thing described:

[[https://drive.google.com/file/d/0B\_7mVza1uzD5Q2lPTS1jZllRaWM/view?usp=sharing](https://drive.google.com/file/d/0B_7mVza1uzD5Q2lPTS1jZllRaWM/view?usp=sharing)][5]

---

<div class="post-metadata">

**Author:** ![Miksu112](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Miksu112](https://forums.unrealengine.com/u/Miksu112)\
**Post date:** [October 3, 2016, 6:07pm UTC](https://forums.unrealengine.com/t/add-movement-inputs-scale-value-is-capped-to-1-or-1/372319/13 "2016-10-03T18:07:50Z")

</div>

This is what I needed. Thank you. No wonder I switched to Unreal.

---

<div class="post-metadata">

**Author:** ![Willard720](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Willard720](https://forums.unrealengine.com/u/Willard720)\
**Post date:** [January 11, 2017, 10:49pm UTC](https://forums.unrealengine.com/t/add-movement-inputs-scale-value-is-capped-to-1-or-1/372319/14 "2017-01-11T22:49:13Z")

</div>

But what if you don’t want to change the max move speed?

What I need to do is simply double the input movement scale, for the input node in the vertical direction, whilst leaving the other input movement node, horizontal, at the normal scale.

If I set the max speed, then they both move twice as fast, which is not what I want at all.

---

<div class="post-metadata">

**Author:** ![ahuss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ahuss](https://forums.unrealengine.com/u/ahuss)\
**Post date:** [September 13, 2017, 7:54pm UTC](https://forums.unrealengine.com/t/add-movement-inputs-scale-value-is-capped-to-1-or-1/372319/15 "2017-09-13T19:54:47Z")

</div>

a bit late but you could simply change the max walk speed in a blueprint. when your horizontal movement input is pressed simply reduce the max walk speed and for vertical simply increase it

---

<div class="post-metadata">

**Author:** ![DarkDan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DarkDan](https://forums.unrealengine.com/u/DarkDan)\
**Post date:** [October 20, 2022, 9:27am UTC](https://forums.unrealengine.com/t/add-movement-inputs-scale-value-is-capped-to-1-or-1/372319/16 "2022-10-20T09:27:16Z")

</div>

For anyone still looking for a C++ answer since Unreal documentation is just that bad, here you go:

Get your movement component and set the MaxWalkSpeed to your desired value:

```auto
void AYourCharacter::BeginPlay()
{
	Super::BeginPlay();	

	UCharacterMovementComponent* moveComp = FindComponentByClass< UCharacterMovementComponent>();
	moveComp->MaxWalkSpeed = YourMovementSpeed;
}

```

Then, when you receive your input (horizontal movement here) you multiply with a factor how you want to have this specific movement ( here sideward movement is half the normal walk speed):

```auto
void AYourCharacter::MoveX(float Value) {

	if (Value != 0) {
                 AddMovementInput(GetActorRightVector(), Value * 0.5);
	}
}

```
