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

How to change a WASD key in a script?

Asked by 7 years ago

I'm making a 2-D adventure game and I want to disable the W and S keys from causing movement. I've decided that the best way is to set walkspeed to 0 when the keys are pressed but I'm not getting very far. Can someone give me an example?

Answer this question