The block changes its sprite’s costume to the next one in the costumes pane, but if the current costume is the last in the list, the block will loop to the first.
The example demonstrates the costume change and gliding to the random location when clicked.
Script
Output
Read More