I'm at a tech camp so I'd figure I'd do this. Connect your micro:bit to scratch (via scratch link) and steer the scratch cat to grab the purple ball. (Respawns after you catch it.
Thanks to iDTech for inspiration (and the micro:bit)