This project uses the video motion blocks, so you'll need a webcam. The doughnuts just wait until they sense motion, and then get eaten.
The closer you get the better it works.