.change()

Bitsbox's change command makes it easier to change objects on the screen. It works differently depending on the type of object you're using it on.

Here's a program that turns a robot into a car when you tap the screen.

You can also use .change() with text. In this example program, the text on the screen changes every time you tap.

For a circle, the .change() function changes the color of the circle. This program changes the fill color.

You can also make the line color different than the fill color by passing in two parameters. The line() command makes the border line easier to see for this example.

And last but not least, you can make it so the circle has no fill, but just a line.