Code with MakeCode — image 1 of 2

makecode_changecolor.jpg
details

In the VARIABLES block, drag an instance of change color by 1 onto the workspace and put it inside your repeat loop.  Changing the color by just 1 step each time is a bit subtle, so I changed mine to 2.  Try clicking your button again and see what happens!  Change the values around until you find something you like.

Back

Search