Step 5: Using W-A-S-D and the Arrow keys together
What if you'd like to give your player the option to either W-A-S-D or the arrow keys in your game?
> Click on Level - 5 to open it.
> Right-click on the Chicken to Edit its script.
> Grab four "When key backspace/delete pressed" blocks from Events.
> Just as you did in Steps 1-3, these blocks to code in the Left, Right, Up and Down arrows.
> Right-click on the blocks inside "When key W pressed" and select Duplicate.
> Drag the duplicated blocks into the correct arrow key block.
If you need a little help, compare the code in this example script with your own script and make adjustments where necessary.
> When you are ready to test your code, click Play and select Level 5 from the game menu.
Now try using first the W-A-S-D keys and then the Arrow keys to move our Chicken about. To finish the level, move the Chicken to the Coin.
If everything seemed to work, continue to Step 6.
Otherwise, have a look back over your Script and see if you can spot the bugs.