Click on the apple and drag it anywhere. Then place the pointer anywhere and press space to spawn cats. The cats will find their way to the apple unless you spawn too many cats.
I did this using a tutorial from Griffpatch.