when Scratch cat touches the potion, he should go faster, if he isn't, he should stay the same speed, but the cat is at the back of the potion, he doesn't go back to the same position when the flag is clicked, and he goes off screen! also he doesn't even collect the potion! - The code does not check if the sprite reaches the edge of the stage. You need to add a block that makes the sprite bounce or wrap around when it touches the edge. - The code does not change the direction of the sprite when it moves left or right. You need to add a block that sets the rotation style to left-right and flips the sprite when it changes direction.
code and debug instructions written with Bing ai