How to disable w and s movement keys

  1. What do you want to achieve? Keep it simple and clear!
    i want to disable the forward and backwards movement keys just for a test.
  2. What is the issue? Include screenshots / videos if possible!
    I don’t know how to. I think it is a context action, but i don’t know the name of the action, so i don’t know how to unbind it.
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I watched Custom Player Controls (Ep 2) - Let's make a 2D Roblox Platformer Game - YouTube and I read a forum for his topic but i tried both of them they didn’t work. I think they are outdated.
2 Likes

I think from this post, you can use ContextActionService to unbind the W & S keys

2 Likes

yes I did try this one but when I unbinded the actions and played the game the w and s keys were still active, and that post is 2 years old. I assume that it is probably outdated.

1 Like

Oh, yeah just found another post saying that they did actually change the names of the Action Names

Did you look at this as well? It’s almost a year ago but it seems to work

1 Like

I did not look at this at first. But it seems to work thank you for this information.

1 Like

What if you only want it to be temporary until a while true has become false