Click the green flag and try changing the size. You'll notice that it lags more the bigger the cat is. If you look inside, you'll see that I've added an unnecessary loop when checking if it is touching colors. That is because I want to cause lag so that the difference in lag between sizes is more obvious. I haven't really looked into the reason it lags at larger sizes, but my guess is that a larger size means it needs to check more pixels when executing the "touching (...) ?" blocks.
This project was made as a response to a question by @HumanCalc7: https://scratch.mit.edu/users/papipupepappa/#comments-185199196