Here is the final code: You can use (copy and paste it) in the rest of the lessons. (After you paste it, press the tab key to make it more readable) Change it as follows: The code goes on the card or the stack. The object being moved in this code is - button "box". Change it to your object and it's name The card is called "my card". Change it to the name of your card. --------------------------------------------------- FINAL CODE ----- COPY THIS AND PASTE IT INTO YOUR PROGRAM --------------------------------- on arrowkey x if x is "left" then if x is "right" then end arrowKey --------------------------------------------------- FINAL CODE -------- |
Home > Moving Your Player - on ArrowKey >