STEP 18: For this game, our win condition is reaching a lilypad, so let's set that up in our collision event.
- Change the if statement so that it tests if image is equal to "lilypad".
- Delete the default .say() command inside the if statement.
- Use Set Text to set result_text to "YOU WON!" inside the if statement.
- Use Set Color to set the color of result_text to "green" inside the if statement.
To navigate the page using the TAB key, first press ESC to exit the code editor.