Press the flag to begin. Then, move your mouse wherever you want, and the chomp will automatically follow.
All of the code is from the Scratch Card Follow the Mouse. The backdrop and sprite is personally made.