WASD: how to turn off their implicit movement in Unity

Here’s my greenhorn problem: typing in my app moves some objects onscreen (the corresponding letters) to a row where they should link into the typed words. But WASD induce another movement that I can’t get rid of (just like arrow keys).

How do I deactivate WASD movement and reduce them to simple letters?

I used Input.GetKeyDown (“a”). Some if’s, nothing remotely fancy, straight from a Unity tutorial.

As far as I can tell, nobody hit this wall…'till now.
Help, please.

1 Answer

1

You don’t define what else is moving using the WASD keys, but as a guess, go to:

 Project Settings > Input

Open up the settings for “Horizontal” and “Vertical” and remove ‘a’ and ‘d’ as alt negative and alt positive keys from “Horizontal” do the same for “Vertical”.

Thank You, that worked like a charm.