I completed the challenge by making the cat reach the red rectangle without using absolute coordinates, e.g. go to x or go to y blocks.
All credit to miguel3000 for the challenge.