Use the cursor keys to direct the snake to eat the apples. You cannot turn the snake back on itself. Running into the wall or the snakes body ends the game.
Thanks to a YouTube video by SammyCheez "How to make a snake game in Scratch 3.0" https://youtu.be/Ba8YDFN2Q-U