You spawn cats, by clicking space. They all go to the apple. They stop at walls.
Thanks to @griffpatch. (Pathfinding Tutorial) Link: https://www.youtube.com/watch?v=0faPPgOT--E