Add a Keyboard sensor: W key
Note:
For this tutorial, I'm using the W key for forward movement
Note:
This tutorial uses States and a NOR Controller. Because we are using the NOR Controller, we can't use the Sensor Level button to carry a key press from one State to the next. Instead, we have to use TRUE level triggering to check if a key is being pressed when it switches States.
Buttons Window menu >> Logic (F4)
Sensors Add
Keyboard Sensor
TRUE level triggering: enabled
Key: W key