Must be alert like a dragonfly.
Main product: 'Ola AH' Programming Language.
It can be done easily with Stitie Machine. I'll provide example (for release 1.1 "Sunsail").
Imaging is not implemented in this version, so instead of checking object's pixel image, we'll look into object's state for specific variable. (this version assumes that shape does not animate).