# How do I use enhanced input action for my car game

**URL:** <https://forums.unrealengine.com/t/how-do-i-use-enhanced-input-action-for-my-car-game/774347>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [February 20, 2023, 12:54am UTC](https://forums.unrealengine.com/t/how-do-i-use-enhanced-input-action-for-my-car-game/774347 "2023-02-20T00:54:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![orieoz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@orieoz](https://forums.unrealengine.com/u/orieoz)\
**Post date:** [February 20, 2023, 12:54am UTC](https://forums.unrealengine.com/t/how-do-i-use-enhanced-input-action-for-my-car-game/774347/1 "2023-02-20T00:54:34Z")

</div>

Hey There,

I am working on a car game and I am using UE5.1. Axis and action mappings have now been deprecated so I am facing errors with the default input action and axis. How do I use enhanced input action for my vehicle movement.

The tutorials i checked are using the first and third person template so I would love to know how to integrate enhanced input action to my project

---

<div class="post-metadata">

**Author:** ![Est\_engine](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/est_engine/32/1008648_2.png) [@Est\_engine](https://forums.unrealengine.com/u/Est_engine)\
**Post date:** [February 20, 2023, 8:45am UTC](https://forums.unrealengine.com/t/how-do-i-use-enhanced-input-action-for-my-car-game/774347/2 "2023-02-20T08:45:45Z")

</div>

Enhanced input must be correctly set up in the project settings- inputs  
 ![immagine](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/f/1/9f107939cf19a9220a00fd13eedf8db3bdc5d57f.png)

Once this is done You , have to To create some assets fot the key mapping  
 ![immagine](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/2/5/22577dca1586c7541e03c226eda9f3c9d81a1568.png)

Its a box system… you create a input action , and place it inside a mapping context.  
and mapping context are added to the “Enhanced input local Player Subsystem”  
you need to to this via blueprint i think

> [@Enhanced Input Limitations and Bugs](https://forums.unrealengine.com/t/enhanced-input-limitations-and-bugs/235834):
>
> So, I came across two problema with the new input system. 1 - When trying to create a new input mapping by code, the function to add inputs does not take in the modifiers or triggers, and the struct that comes out is not a ref, just a copy, so altering that after does nothing. So, creating a nre input, unless it’s very simple, becomes impossible. 2 - The second one is a bit more weird. If I try to disable an input mapping after an input is pressed, it seams like the system reboot…

And then you are free to use Enhanced input action

---

<div class="post-metadata">

**Author:** ![orieoz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@orieoz](https://forums.unrealengine.com/u/orieoz)\
**Post date:** [February 20, 2023, 1:42pm UTC](https://forums.unrealengine.com/t/how-do-i-use-enhanced-input-action-for-my-car-game/774347/3 "2023-02-20T13:42:46Z")

</div>

I have done that. But I am a beginner, So which values should I place for vehicle movement instead of axis and action mappings

---

<div class="post-metadata">

**Author:** ![Astrotronic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/astrotronic/32/1194566_2.png) [@Astrotronic](https://forums.unrealengine.com/u/Astrotronic)\
**Post date:** [February 21, 2023, 12:20am UTC](https://forums.unrealengine.com/t/how-do-i-use-enhanced-input-action-for-my-car-game/774347/4 "2023-02-21T00:20:21Z")

</div>

Hi Orieoz, Welcome to the Forums,

The vehicle template shows an implementation of this.

 ![throttle](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/2/e/12ec6fa767466ba89cb6edfd3831a9201e4b9a74.png)

So you’d create the Input Mapping Context and Action assets, then you’ll see what you’ve named them. (Example in picture is throttle) in your Blueprint nodes.

---

<div class="post-metadata">

**Author:** ![orieoz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@orieoz](https://forums.unrealengine.com/u/orieoz)\
**Post date:** [February 21, 2023, 2:33pm UTC](https://forums.unrealengine.com/t/how-do-i-use-enhanced-input-action-for-my-car-game/774347/5 "2023-02-21T14:33:31Z")

</div>

Thanks a lot. I really appreciate
