I have not done a griffpatch tutorial in a while so I did his path finding tutorial. Press space to make a cat. The cat will make it's way to the yellow circle without touching the walls. Also, you can change the position of the yellow circle.
Credits to @griffpatch for tutorial If a cat is spawned directly on a wall that leads to the edge of the stage, it will head downwards until it hits the stage. Otherwise, it can still find the yellow circle. Spawning too many cats results in lag!