Use the left and right arrows to turn the cannon. Press space to shoot it. Look inside to see the code explained. How to use in your own projects: Copy the sprite using your backpack. Drag it into your project. Add a variable named 'cannon direction' (without the ') Adjust the triggers, coordinates etc to suit your project. Give credit to @danielhal in 'notes and credits' so that I won't have to report your project. Link to your project in the comments here (if you share it). Done!
Authors: -@danielhal (Code) -MIT scratch team for the 'laser 2' sound If you use this in your own project you may want to make a cool down between shots to stop extreme lag (to see an example hold down space).