Project 563: Spinning Blocks

6. Make a Pinwheel

Duplicate your spinning block four times and change the code inside each to offset the starting rotation of the blocks. 
Starting point file for this challenge

Your goal

Steps

1. Duplicate SpinningBlock

Duplicate your SpinningBlock by right-clicking on it and then selecting 'Duplicate'.

2. Open the script for your new SpinningBlock

Select the new SpinningBlock in the Explorer window and click the arrow next to it to open the content inside of it. Double click on 'SpinScript' to open it.

3. Change the starting rotation to 45

In order to offset this new block, so it is not always at the same rotation of the original block, you must change the rotation variable in its code to start at a rotation of 45 degrees.

4. Test it out!

Test out your new block. Does it spin on a different angle than your original?

5. Duplicate SpinningBlock Two More Times and Adjust Their Code

Duplicate your SpinningBlock two more times and adjust the code in each to offset their start rotation from the other two.

6. Set all four to the same start position

Set the start position for all four SpinningBlocks to the same position. Make sure they are anchored and group them together.