Skip to main content

SHIMMY

Description

SHIMMY is a movement command that makes the robot rotate to the left a bit, then right, then left, then right, then left a bit, ending up facing in the same direction.

Syntax

SHIMMY

Example

Input

Program based off of "Mingle":

DISPLAY_CONFIRM "Would you like to dance with me?", "Yes", -1
PLAY_SOUND "shimmy"
DISPLAY "Okay, here we go!"
SLEEP 2
SHIMMY
SHIMMY

Output

Screen will display "Would you like to dance with me?" with no timeout. Upon selecting "Yes", the robot will play the "shimmy" audio file, then display, "Okay, here we go!". After a two-second pause, the robot will rotate left, right, left, right, and left. It will do the SHIMMY rotation twice.

Resources

Explore the SaviScript GitHub repository for all published instances of this command.