Press right arrow key to control the cat, the knight has larger steps but if you can tap fast you can outrun him to the finish line. (Knight's movement speed is random every time he walks)
Thanks to google i was able to find coding blocks i couldn't find, turns out all i had to do was click a block and select the script i want to happen on.