How to make a Rolling Snowball Cannon

Last updated: March 9, 2025

  1. Start with your cannon. This one is made with tube and sphere, aswell as a "Cannonball". In this example its a giant snowball.

  2. Place a small part behind your cannonball and name it. In this case it is named "SnowStart1". Use the Material Tool and type 1 in the transparency to make it invisible.

Putting a number in the name will make it easier to change if you want multiple cannons with different timings

  1. Place a part where you want your cannonball to stop at. Use the Material Tool to make it invisible like in step 2, and turn the collision off using the Collision Tool. Make sure to name it aswell, in this case it is named "SnowEnd1".

  2. Select your cannonball and open up the Code Builder. Like every good code, start it with an At Start from Event and a Do Forever from Control.

  3. From the Motion Section, place a make object look at- block and tween object position to-. Put your Ending name in the input, in this case, "SnowEnd1". Adjust the amount of seconds to how fast you want the cannon to move.

  4. Follow it with a wait -- seconds from Control. Repeat the 2 blocks from Step 5, but change the input to your Starting name, in this case, "SnowStart1".

  5. Underneath, start a new line with When touched by a player block from Event, and then a change player health to 0 block from Player to make it a kill brick.

  6. Select your start block and cannonball and slide it into the cannon. Press play to watch it roll!

Was this article helpful?

Thanks for your feedback!