Here is a frog made from shapes coded as its own “sprite” so it can be used again. In this example it is used in a nested loop
An interactive game using JavaScript, to move bubbles