Very basic code for WASD movement, or Arrow Key Movement. Use the Slider in the bottom left to switch between using arrow keys or WASD controls (1 = Arrow Keys, 2 = WASD) If in Arrow Keys mode: Up arrow to go up Down arrow to go down Left arrow to go left Right arrow to go right If in WASD mode: W to up S to go down A to left D to right HOW TO USE: If you have an account, click 'see inside', the purple button above (HERE ^^^) Then, open your backpack (at the bottom of the screen, click on the bar that says backpack) Then, drag the sprite named 'Toggle Controls' into the area for the backpack When you want to use it in your projects, open the backpack and drag the 'Toggle Controls' sprite into the sprites area. Then, you will need to go to the variables section, and click the box to make the variable visible. Then, right click the new variable that has shown up, and select 'Slider', then right click again and select 'Change Slider Range', and make the minimum value 1, and the maximum value 2.
I made the code and tutorial by myself. Use this to add Toggle Controls to your games. Please credit me if you use any of my 'Basic Scripts'.