# SetBind Console Command?

**URL:** <https://forums.unrealengine.com/t/setbind-console-command/400106>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [July 13, 2017, 9:57pm UTC](https://forums.unrealengine.com/t/setbind-console-command/400106 "2017-07-13T21:57:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_0746fae6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0746fae6](https://forums.unrealengine.com/u/anonymous_user_0746fae6)\
**Post date:** [July 13, 2017, 9:57pm UTC](https://forums.unrealengine.com/t/setbind-console-command/400106/1 "2017-07-13T21:57:54Z")

</div>

Unreal Tournament allowed you to bind in-game from the console:  
“setbind E switchweapon 4”

I’m not sure I understand this command in UE4.

How would I set “M” to Jump? Instead of “Spacebar” to Jump?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_705e34d1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_705e34d1](https://forums.unrealengine.com/u/anonymous_user_705e34d1)\
**Post date:** [July 13, 2017, 11:38pm UTC](https://forums.unrealengine.com/t/setbind-console-command/400106/2 "2017-07-13T23:38:29Z")

</div>

I think you need to use Input Action for that.  
It allows you to bind keys to actions, then call those events in Blueprints.  
Although it doesn’t work through console commands.

> **[Input Action And Axis Mappings In Unreal Engine 4](https://www.unrealengine.com/en-US/blog/input-action-and-axis-mappings-in-ue4)**
>
> In Unreal Engine 4 we wanted to make binding input events as easy as possible. To that end, we created Input Action and Axis Mappings. While it is certainly valid to bind keys directly to events, I hope I can convince you that using mappings will be...

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0746fae6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0746fae6](https://forums.unrealengine.com/u/anonymous_user_0746fae6)\
**Post date:** [July 14, 2017, 7:42pm UTC](https://forums.unrealengine.com/t/setbind-console-command/400106/3 "2017-07-14T19:42:45Z")

</div>

I have my inputs setup. Now how do I change them using SetBind console command?

Spacebar is Jump, how thru console can I change the Spacebar button using SetBind to say M button?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_705e34d1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_705e34d1](https://forums.unrealengine.com/u/anonymous_user_705e34d1)\
**Post date:** [July 14, 2017, 8:07pm UTC](https://forums.unrealengine.com/t/setbind-console-command/400106/4 "2017-07-14T20:07:55Z")

</div>

I don’t think it exists as a console command any more.

A possibly workaround would be to create events in the level blueprint and call them from the console by typing:  
“ce eventname”

You could combine that with Rama’s Victory Plugin which has functions for rebinding keys:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...
