The Potaroma Flapping Duck toy, which is already on sale for just ... watches it flap and quack, then attacks it again when it goes still, and sets it off again then watches it flap and quack.
As for the duck, it’s a toy that had a couple of watch batteries and a small PCB inside. Some poking around led him to a pad that activates the quacking when grounded.