This fires off several forever loops; - Up/down bobbling - Left/right bobbling - Leaning bobbling No user interaction.
Created this to demonstrate in kids coding class how to combine multiple movements at once. There are two versions of the bobbing scripts, one very simple to help the kids understand the logic, the other with more complex randomizing logic. Remix and replace with your favorite baseball player!