Welcome to C2! You have the "On Collision" event you can use to trigger the event. Then you need to add an action. Under the sprite, you have the Animation: Set Frame action. Sprites have an expression you can use to get the current frame, so you can add one to that.