Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I disable the up and down arrow keys and their forward and backword movement?

Asked by
Dad_Bot 34
7 years ago

In the game I am making, I need to bind the up and down arrow key to a different function. The only issue is that I can't find out how to disable the keys for walking forward and backwards. I disabled the camera movement for the left and right arrow keys but had no luck with the forward backward ones.

Other people have suggested binding the up and down keys with changing the player's walkspeed to zero. This wouldn't work because I need the player to be able to use the up/down arrows while they are moving with WASD. Please let me know if there is any way to fix this.

Answer this question