{"id":66538,"date":"2024-11-17T20:35:31","date_gmt":"2024-11-18T02:35:31","guid":{"rendered":"https:\/\/www.codewizardshq.com\/?p=66538"},"modified":"2025-06-02T16:52:12","modified_gmt":"2025-06-02T22:52:12","slug":"how-to-make-a-maze-in-scratch-in-7-steps","status":"publish","type":"post","link":"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/","title":{"rendered":"How to Make a Maze in Scratch in 7 steps"},"content":{"rendered":"\n<p>A maze is a simple puzzle where you try to find your way from the beginning to the end. Completing a maze tests your memory, problem-solving skills, and patience. Coding does the same! Both require having to think logically and in order.&nbsp;&nbsp;<\/p>\n\n\n\n<p>I<strong>n this tutorial, I\u2019ll show you an easy and fun way to code a maze in Scratch where you control the player with your arrow keys. <\/strong>As a bonus, I\u2019ll also teach you how to animate your character and add a timer.&nbsp;<\/p>\n\n\n\n<p>You can learn to build a maze and other fun Scratch games with a live instructor in our <a href=\"https:\/\/www.codewizardshq.com\/coding-programs-for-kids\/\">top-rated coding classes<\/a>. My elementary school students really enjoy how engaging and easy Scratch coding is. They just have to drag and drop to create cool games and programs. By coding a maze, we\u2019ll learn about loops, collision detection, and events.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-complete-this-tutorial-to-code-a-maze-scratch\"><strong>Complete this tutorial to code a maze Scratch!<\/strong><\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXek5XTLaBUGz6KNRvggFlZm_plDmi1J1nSqyoFox5jXkdU3sS3XrBEWvGTDEwnorDfvbBb_kOFEO1W0lh7BX4ZX07zowfzqlp6CvxL25pdl08YrxbI22mK_Gl_RTDqgc86FiAWJ0p5sc3gEZ1qPTZ3d7TU?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"Completed maze game\"\/><\/figure>\n\n\n\n<p><strong>Play and remix the <a href=\"https:\/\/scratch.mit.edu\/projects\/1078234216\/\">complete maze game<\/a> now.&nbsp;<\/strong><\/p>\n\n\n\n<p>In this game, the baby penguin, Pesto, has lost his hat. Mom is going to be mad! Help him find his winter hat to win.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-we-can-break-down-this-game-into-3-main-components-nbsp\"><strong>We can break down this game into 3 main components:&nbsp;<\/strong><\/h4>\n\n\n\n<p><strong>1. The maze: <\/strong>A drawing of a maze obstacle players have to avoid and make their way through.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Draw the maze<\/li>\n<\/ul>\n\n\n\n<p><strong>2. The player:<\/strong> the player, the penguin, moves around the maze and returns to the beginning when they touch the edge.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Add and position the player<\/li>\n\n\n\n<li>Move the player around the maze<\/li>\n\n\n\n<li>Detect player collision with the maze<\/li>\n<\/ul>\n\n\n\n<p><strong>3. The goal: <\/strong>the goal, the winter hat, is placed at the end of the maze and the player wins when they reach the goal.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Add and position the goal<\/li>\n\n\n\n<li>Detect player collision with the goal<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-what-you-need\"><strong>What you need:<\/strong><\/h3>\n\n\n\n<p>Scratch account: <a href=\"https:\/\/scratch.mit.edu\/\">Create a free Scratch account<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-no-coding-experience-is-necessary-for-this-scratch-tutorial-beginner-friendly-for-kids-ages-8-and-up-give-it-a-try\"><strong>No coding experience is necessary for this Scratch tutorial. Beginner-friendly for kids ages 8 and up. Give it a try!<\/strong><\/h3>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-steps-to-make-a-maze-game-in-scratch\"><strong>Steps to Make a Maze Game in Scratch<\/strong><\/h2>\n\n\n\n<p>Let\u2019s turn each of the parts we discussed previously into steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"#h-step-1-create-a-new-scratch-project\"><strong>Create a new Scratch project<\/strong><\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/h-step-2-add-a-backdrop\"><strong>Add a backdrop<\/strong><\/a><\/li>\n\n\n\n<li><strong><a href=\"#h-step-3-draw-the-maze\">Draw the maze<\/a><\/strong><\/li>\n\n\n\n<li><a href=\"#h-step-4-add-and-position-the-player\"><strong>Add and position&nbsp;the player&nbsp;<\/strong><\/a><\/li>\n\n\n\n<li><a href=\"#h-step-5-move-the-player\"><strong>Move the player around the maze<\/strong><\/a><\/li>\n\n\n\n<li><a href=\"#h-step-6-detect-player-collision-with-the-maze\"><strong>Detect player collision with the maze<\/strong><\/a><\/li>\n\n\n\n<li><a href=\"#h-step-7-add-and-position-the-goal\"><strong>Add and position the goal<\/strong><\/a><\/li>\n\n\n\n<li><a href=\"#h-step-8-detect-player-collision-with-the-goal\"><strong>Detect player collision with the goal<\/strong><\/a><\/li>\n<\/ol>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-1-create-a-new-scratch-project\"><strong>Step 1: Create a New Scratch project<\/strong><\/h3>\n\n\n\n<p>First, we need to set up a new project in Scratch where we will edit our code.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Visit <a href=\"http:\/\/scratch.mit.edu\">scratch.mit.edu<\/a><\/li>\n\n\n\n<li><strong>Login <\/strong>to your Scratch account<\/li>\n\n\n\n<li>Click on the <strong>Create<\/strong> button<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXfUGHM-bvCreFUuk2U9tK14jdhgW-EDqME9vHJfXgE4fWiiHJB3gey03Qvba__ZGqHybXQvb0qO5OrPIqYfjDUDapWmEB1azy6INgUNbrjYQMQlEXn1cDQbI7NyCFotinP67ea6zG6xbrd6nqZXUcHHDVbH?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"Create a new Scratch project\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A new project will open, rename your project to <strong>Penguin Maze Game<\/strong><\/li>\n\n\n\n<li>Hover over the <strong>cat sprite<\/strong> and click the trash can to <strong>delete <\/strong>it<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXclRUhbFStRUtWUc6ALqip0jKPf6u9fOZxUCMsayoXi4G5u4TpXYHnOi-g_eWFM8x-oTjbhGUEf86o9zoxsu0q_kxOzivTbljwcBgjdcbLQVjWo8N89KvUNeYUr_IN7I0siIVBbSarWPowZMsoME53pTdnR?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"Name Scratch project Penguin maze game\"\/><\/figure>\n\n\n\n<p>Now we have a fresh new project to code our maze game!<\/p>\n\n\n\n<p><strong>Hint: <\/strong>You can also remix the Penguin Maze project to see the completed code.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-2-add-a-backdrop\"><strong>Step 2: Add a Backdrop<\/strong><\/h3>\n\n\n\n<p>Set the stage for your game by adding a background image.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click the <strong>Choose a Backdrop<\/strong> button<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXfyNMbuGd1_A7dli6YvYX6k1vrzxOfx4hUEFuft-_a2l8MZprJEVqyFWCXQK5WYV0PGL0TSKrs7P-B9xrAZIoVUgLi9qcTzn9F98I9mBIpetzEpEOtyso5LNAftwdGNx314In768vgqo4vl-NHr_BXItu9Z?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"Choose a backdrop button\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select the <strong>Arctic<\/strong> backdrop<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXfRQDaQzyRyM5Vt60YgYHX6K2x9MmFpMVPUeucCpIg9y1vZuK7PPGieOfdx9codnYusmSF1lqVVgK1KuMRayBieUhqw0RveKDr6vLYU7pLFvNsUNDP7mEp08Q4Q4H_tPBFv-GotjtIpik-KCNXkalEdm73o?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"select the arctic backdrop in scratch\"\/><\/figure>\n\n\n\n<p>You should now see the backdrop in your preview area.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcQXWMBT7yd24yr6HO6KRKWqXxTYe7I9zhR007fp9oeQnasAmSJQ4FHkBDkm63WRQntPrQiADvr18_wAhuhMBL5ckP5OlAe-TfX35VnLUGTg_vM9_nnN-F8HrFVicfD_6zaaVpgRgANybGjie8CM_7zeuk?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"see the backdrop in Scratch preview \"\/><\/figure>\n\n\n\n<p><strong>Hint: <\/strong>Get creative and select a backdrop that matches your theme. You can also select Surprise to let Scratch choose for you.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-3-draw-the-maze\"><strong>Step 3: Draw the maze<\/strong> <\/h3>\n\n\n\n<p>A maze is simple to draw with just horizontal and vertical lines. We\u2019ll draw our own maze, make sure you leave enough room for your player to get through.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Hover over the choose a sprite button, select <strong>Paint<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXeRUblAyDRZL7Uq2zt5pFj8DnPsb5w0SK-urwaiAQPy8capdIvBlq628aDI-2ei8Yhepg_NjsuVSB6KLR7zoobFIDe5CRLfAAbczm-Oy3d-f_2krF-83gzCfMGyn5-lmnfhqSVGkOqowaRKEwhOO-j3ri3I?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"select paint button\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on the <strong>line icon<\/strong><\/li>\n\n\n\n<li>Select an <strong>outline color <\/strong>and change the <strong>size <\/strong>of your lines to 20<\/li>\n\n\n\n<li>Click and drag lines to represent the maze. Adjust it to fit the game preview.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdvDLiMjT0z_nYsa4HFVqPlNNjzXtjigJk9yHbOnwLPSougRSJvv1Jvb5SoUYxQHI5d6vyAGEDKySE9zS1W0YUYqSUYw5GviYyVnmk_tEN8kN58TIJs57Y-QLOJKT_g7acGvMr5uIiwZtLarXPfXPllZRM?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"outline maze sprite\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click the Code tab and rename the sprite to Maze.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdYzIUAtEKehUXNUpAUoYfmDMtlfnVSAM1BB4F0ugAcCXk93-eX1BFI-vzVGV6vsPa7XYJIL21iMkdo5SiwrcCEnryDeQVSHCfIZBWjXL5Ed84z8hjj7yz2iUaqEvIPU7jfIOUGTNfNs5o5orXs3ib2CIdc?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"rename the maze sprite\"\/><\/figure>\n\n\n\n<p>Do you see your maze in the preview screen like this? Great!<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcd32Jk1IAcYcsolglKJj3Mf7dEzRwlRbsj7Kc56GtWgQT8fWHJR7iJE7kCU1mwJI_f3xOWoxzJ1Ukg5NejPXErhLg1ShuI8F1DId9tD2NDBx9ArUudUKzSgjSGpgk24GvBshIPsK3A3oGo0TRdSi0d4Mg?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"see the maze in the preview\"\/><\/figure>\n\n\n\n<p><strong>Hint:<\/strong> You can make the maze as easy or hard as you want. Add more lines and dead ends to make the maze harder.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-4-add-and-position-the-player\"><strong>Step 4: Add and position the player<\/strong><\/h3>\n\n\n\n<p>We want to add our player, the penguin. The penguin is going to start at the top left every time the game starts. Before we move the penguin, position it at the top with our code.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click the <strong>Choose a Sprite<\/strong> button in the right corner<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXeG4LJeUuPi1PO6EwTquiW1EpjNhVOBKr7cSLgDoXhood4qc5nWjpeYTDPnLtUTa7t1xh-SEQeVaEmO3rj5HaboPq0_LqhvPtHop1DU9R2R9sX2b7DRZxcPZi77eb4FplZpedkjiDo_QDWogoNqK4ZeL3kS?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"choose a sprite button\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select the <strong>Penguin 2<\/strong> sprite from the library<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXf_EPm-u1JAhBBmCCYAavsi4XT1NhnBFiAV_tVfL20RYstPuINh_M3pU_fLv31i_jtBTSe0L87trANx8D_AX-YVINVAW42rw6UOF7QF6yrzcoUpkGMFMyD0QFZ5ma7uzybAIRdcoAPDABu_V_8xW66eWnI4?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"select the penguin sprite\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Change the <strong>size <\/strong>to fit your maze, my penguin is <strong>20<\/strong>.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdVWcz1loJ-RiX-6I2-Tw1qrzYjFIrkzW__ZQwWD3nyW4F9KBwvZcAOM84T_L4KWXCoi2szUjoZOyc-B09MdkiZ7y4trcFRfKZ5KGgw1scDLTn2Y9Yx70l_XltCzQcEb4BLyN2o5VacYCrG2fOV5gRU7ZOL?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"change the penguin sprite size\"\/><\/figure>\n\n\n\n<p>Next, add this code to the penguin so that it goes to the starting position every time the game starts.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Add a<strong> When green flag clicked<\/strong> block from events category.<\/li>\n\n\n\n<li>Add <strong>Go to x y position <\/strong>block from motion category. Use the x and y value of your sprite at the starting position.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXccgSeX9u6Wdc6vb-nAnGeXkYP_aCVLMqjNHRwzUc9mPy1FFDXwebUFOnvVEMhY18qU2EpQyE3LXo9hrRVV4lRj5yahJ9D_pcLQRhsaikpziTLX489ZG5Gl1k7wFodn8Eg5g05nU6xclJpZasIpHVtMNPq8?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"go to x y\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXc-BpA2QYFLomPj7kerbFuMJBAzuwVu_pgF1rvEZbF_BCthI_V9-hDfKABVcfJE3EZY6u5oWhBTKoXrPyoID3_yMvNQ2RaQ7fYSSFrLmr1rOW2a5MQWPwmDdeE5Atx_CatPhXDGwjR38Ku-mNOEzcGQZ8TY?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"see the penguin move\"\/><\/figure>\n\n\n\n<p>Now, try moving your player away from the starting position. When you click the green flag, it should return there. If your test works, you\u2019re ready for the next step.&nbsp;<\/p>\n\n\n\n<p><strong>Hint: <\/strong>You can get creative and draw your own sprite, just hover over the add a sprite button and go up to Paint.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-5-move-the-player-around-the-maze\"><strong>Step 5: Move the player around the maze<\/strong><\/h3>\n\n\n\n<p>The penguin is on the screen, but he can\u2019t move. The penguin needs to move up, down, right, and left when we press the arrow keys. We need to control him with the arrow keys.<\/p>\n\n\n\n<p>Let\u2019s add the logic to the arrow keys. To move the sprite right and left, add this code:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In the Events category, add <strong>When right arrow key pressed <\/strong>block<\/li>\n\n\n\n<li>Add a<strong> Change x by <\/strong>block from the motion category and change the value to <strong>10<\/strong><\/li>\n\n\n\n<li>Right click on When key pressed block and <strong>Duplicate <\/strong>the entire code block<\/li>\n\n\n\n<li>Then change the dropdown to <strong>When left arrow key pressed<\/strong> and <strong>change x by<\/strong> to <strong>-10<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXfHyvywJX9wblHrYv-I_EXDnsgOQdLs-3zRClHyjOCIvQt4KOxn5q6iqHPJpgGScZ9CUFVSGDpmCFymsChef4dT22dbJ-eVIJDQRIdzDDYcsiL0YLnKmL8z8msFmaapO7RSimvSlnRqwWVcdBuJq09u_1g?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"when right or left arrow key pressed blocks \"\/><\/figure>\n\n\n\n<p>To move the sprite up and down, add this code:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In the Events category, add <strong>When right arrow key pressed <\/strong>block<\/li>\n\n\n\n<li>Add a<strong> Change y by <\/strong>block from the motion category and change the value to <strong>10<\/strong><\/li>\n\n\n\n<li>Right click on When key pressed block and <strong>Duplicate <\/strong>the entire code block<\/li>\n\n\n\n<li>Then change the dropdown to <strong>When left arrow key pressed<\/strong> and <strong>change x by<\/strong> to <strong>-10<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXfNM7gjC3rJxgVhbuGOZRAFm0laGDFe1Q4RyjzZ1fzyKoHRnalrGWzrdZYVbXbQ-8b1rfCz01vuM70m6Q3oONT7OBddf5ut1DIWRbSCx1p9gTm0KF6gRvvQo5JpjOJhUhsbhSpwGFc_OCKYEaRcoxnzKo7A?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"when up or down arrow key pressed blocks\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXc-QDaAfO36qtNleKRprDrktoa6r5wioyj4EgF-QBGXDc8zpD9UXSgZZwBrWKWei0L543yHhCCY8y4RIVNqdOezjQVY3Y2XJ05DoFwjW9mVV1kOi-EhpjnM6lrLGVS9Y7cgRtx3MEINX1J6tuWweN5c226F?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"complete code for penguin movement\"\/><\/figure>\n\n\n\n<p>Your penguin can move now! Try pressing the arrow keys and make sure the penguin is moving in the right direction.<\/p>\n\n\n\n<p><strong>Hint:<\/strong> To move the player faster or slower, change the x and y values.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-6-detect-player-collision-with-the-maze\"><strong>Step 6: Detect player collision with the maze<\/strong><\/h3>\n\n\n\n<p>We need to code what happens when the player touches the maze. The penguin should say \u2018Oh no!\u2019 and go back to the starting position.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>On the player sprite, add a<strong> Forever <\/strong>block.<\/li>\n\n\n\n<li>Inside the Forever block, add an <strong>If then <\/strong>block<\/li>\n\n\n\n<li>From the sensing category, add the<strong> Touching block<\/strong> inside the if then block. Change the dropdown to the Maze sprite.<\/li>\n\n\n\n<li>From the looks category, add a <strong>say block<\/strong> and update the message to \u201cOh no!\u201d<\/li>\n\n\n\n<li>Finally, add a <strong>go to block<\/strong> and use the same x y position as the starting position&nbsp;<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXf5PEiuCjBWxY_J-UdEmYh-LPRJUHUnQAvW16ju5Cm_EOn0V3ZJ6zA449OLfezq9a1z7IflpsIQmLqfjQapAGrAJyGi_HNcdtNxug-pVqEO8deYQ9yvbxdGhayDxTh-ll5WWnCAEJ153vIoxyD7uUGDoNf5?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"detect a collision with if then block\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdBYKKPKaEMR8wI7b2GLSr21-0i8UOt_2kRWRq-86zygyUKPl3POWHhJZZOIcvqoDEfm45fcunm2a7OAGjSSNyn28LRpkBTgH51LHUJFd5DnAYk9F6ZqFwNQpwWlupYk8pwM0pv7CzCdng4kfS0MpVKR8Q?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"detect a collision final code \"\/><\/figure>\n\n\n\n<p>Now, you can try touching the maze with your player sprite. Does it return to the starting position?<\/p>\n\n\n\n<p>It\u2019s working, let\u2019s keep going!&nbsp;<\/p>\n\n\n\n<p><strong>Hint:<\/strong> You can customize the message your sprites says or change what happens after the sprites touch.\u00a0<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-7-add-and-position-the-goal\"><strong>Step 7: Add and position the goal<\/strong><\/h3>\n\n\n\n<p>Our player is in place and can move around the maze. Now, let\u2019s place the goal at the end of the maze.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click the <strong>Choose a Sprite<\/strong> button in the right corner<\/li>\n\n\n\n<li>Select a sprite from the library. I\u2019m using one from the Scratch library called <strong>Winter Hat<\/strong>.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdSQscjD9LqlOHsihH47NfbTIwBWCqTqZW8TvNBwkQBWy3nLUYzLvv7SuAPJF5DZe5GjfhKJpzwZzk1Kfg94svPcwMQyXqf-nAGYYqeUvXSsD2da5hqIm4Rl_YG8oulM5hj4_uyeDf6oq_djMQ6gjDUntD-?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"choose the winter hat sprite\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Change the <strong>size<\/strong> to fit your maze. Mine is size 40.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdQ_2K2_QE5y1NxNXFP_3QB08jytNdZg1jwijuu0GAvi9oY5Zafa0t-dTrOcRM_Npwi_Xwjt1Xd0uRGIyh3v7bhlMDKzKnQrWUIlwtbeam9F1LDCo4rMfcgThzR0HZqvFmhw-W0-JhEFxdsN7MuMtv9r564?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"change your maze to size 40\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Add a <strong>\u201cwhen green flag clicked\u201d<\/strong> block<\/li>\n\n\n\n<li>In the preview, position the hat at the end of the maze. Then add a <strong>Go to x y position <\/strong>block using those coordinates. Mine is positioned at x = 195 and y = -135.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcLQkif8toIq06j_-L8wgvo84PeU022BCqG7MYE2yjbHzkH0zGvxX7-CZwLwwFivgzudn5Kw3AWjDyfr5tUULG02wabMIzcJTHRVCPd1_TBoC_WRI2k2QFe1F5pYYk9QBZ5TIQDMkva5XDqihRdW5_C_ub4?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"position the hat\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdN0KNFQ55Qu1olzgZWmnuk3NECnnOvvQvvDqApT4EoyYXC8Ux52RHHr9TGUm3MSrcphdHMO_9CyStzvC1ASDq3-qjt1ptT99Z0pWw631gEgmfwcmWufH4V0Xd_zZYYVWQp1MVURIFDwiwWc9PSywwUSwA?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"position the hat code\"\/><\/figure>\n\n\n\n<p>Once you\u2019re done, click the green flag to test your game. Your hat should go to the end of the maze when the green flag is clicked.<\/p>\n\n\n\n<p><strong>Hint:<\/strong> You can customize the goal sprite to fit your theme by drawing or uploading a sprite.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-step-8-detect-player-collision-with-the-goal\"><strong>Step 8: Detect player collision with the goal<\/strong><\/h3>\n\n\n\n<p>To win the game, the player needs to reach the goal. When the player teaches the goal, they say \u201cI found it!\u201d and the game ends.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>On the player sprite, inside the forever block, add an<strong> if then<\/strong> loop<\/li>\n\n\n\n<li>From the sensing category, add the<strong> Touching <\/strong>block inside the if then loop. Change the dropdown to <strong>\u201cWinter Hat\u201d<\/strong><\/li>\n\n\n\n<li>Add <strong>say <\/strong>block and update the message to<strong> \u201cI found it!\u201d<\/strong><\/li>\n\n\n\n<li>From the control category, add a <strong>stop all <\/strong>block to end the game<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXfCZhjDoopVTonul1FAVP73XoCzCxIkkJI52-iFEiwiDdYGd6OKiiEK2dhmToxWTSv1C6MrgRE26cBXG23U945od4juT7TX3N6vSTdi8piRNAgVlR44kqzZKrUaYzDQmIEAb_pIOHyJpA5PS54TkffYO2Q?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"detect a collision with the goal\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXe-JRTZ2ET2CUATkuvQ7ABvkYnN3LRrsqCSRK2Kx2vYdT5SI1cW80t9wJKmrmkzEQom1lVKTeyCWj378246BQrOtLlYHwqO0iQQFzlKvslzYwO8Q8SOV3o0xWQ3QMuj3dEV3kA4HvT3uDAUXgeVAPDNbtvi?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"penguin code for collision detection\"\/><\/figure>\n\n\n\n<p><strong>Hint:<\/strong> You don\u2019t have the complete the maze to test your game. Just drag your character sprite to the end in your game preview.<\/p>\n\n\n\n<p><strong>Your maze game is complete! Play the maze game.<\/strong><\/p>\n\n\n\n<p>Click the green flag and give it a try. If you want to share it with other people and let them remix it, click the<strong> \u201cShare\u201d <\/strong>button at the top.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXezvughTRCPBiaTKvVVa2rt7_PRjPh0hF_6LvDnwFYxJJ82h_4fFcVTAodzblOA12hqM_GrJ0UxaGHSFPpE3NSLqdJY09Gglgw-TnM7wPD2wFtr1y2WAbBnG8hpBU6EC6SWRFYmWNhS7sO7D9HE4kyW1lM?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"completed maze game gif\"\/><\/figure>\n\n\n\n<p>You can \u201csee inside\u201d the completed maze game to view the full Scratch code.&nbsp;<\/p>\n\n\n\n<p>Challenge yourself by adding the bonus features to your maze.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-bonus-animate-the-player-nbsp\"><strong>Bonus: Animate the player&nbsp;<\/strong><\/h2>\n\n\n\n<p>We can animate the penguin by making it look left and right when it moves. To do this, we\u2019ll create a costume for each look.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-1-create-the-costumes\">1. Create the costumes<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on the costumes tab, you will see different poses for the penguin on the left<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcSbRUhQM_dMM8748tlFVHlfWEcKpGaxgM18ssiGDj9P7f-RT6Ppi9zM4NFfujzp4KYygKfppwjHmgZQagsZAxLIUKFYRhcyOqQ-s36LG3RaUhArBP73yDySC6PQGccPwaiDgdfYpI5tc2Tx1cxNzNNfxvH?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"costumes tab in scratch\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Rename <\/strong>the first costume, <strong>penguin2-a<\/strong> to <strong>look front&nbsp;<\/strong><\/li>\n\n\n\n<li><strong>Rename <\/strong>the last costume, <strong>penguin2-d<\/strong> to <strong>look right<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXfLQQfZ8hfeobmUCbh1LXKPmFjLG6hj--RMrak-0WLKzUjSsEZT0syhAJStASXmvH7dDj5prHZAaBtcboklauLYxY-EeC7e8oHUSdbxg1R5pIWmqf5q3aiZG0eABoDeCCpF_9ZTKnakCZ7EP01Hlgzrkb38?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"choose the look front penguin costume\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To create a penguin looking left, right click and <strong>duplicate <\/strong>the look right costume<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcdlRtkJkFxSFmMwHqgnVZtKR8f1_KXuZ7O2o5CCY40fibgjL9oygSXsSgMl5LMb2S3jqzGknAPTuUl-AEaPyM5u6hW89jOHTpFKM00qgls6evW720nAbACZ3aRY54VCHmAdQwyWLms0Lqj3rCJw1Ft-Do?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"duplication the look right costume\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Highlight the new costume in the paint canvas and click <strong>flip horizontal<\/strong>. You should now have a penguin looking left.<\/li>\n\n\n\n<li><strong>Rename<\/strong> this new sprite to <strong>look left<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXfchC7fKXx0xJRdRLhdcWe2IzTx8fLIBT-407fhw2nK7sYvtBxPL9_aRLUVph0NyuJtdtTB-5p0m30tiSqYPfpJt4NY-7EdhyZjIqnFgLyJTFttxckJgiCZUc5A94Cl52vU9O44H_Y7KFw_3QmoqMcmVl1y?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"flip the costume horizontal\"\/><\/figure>\n\n\n\n<p>The final costumes will look like this:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdDQZZqpgEby87P69cMFLvoFnHOki4MPv3703GzI6VTI0SVtxbqI60f5lRj2E1WsMyZv3uc14lOXQ-PcIKMLnZGsFcjDmJZBYkDWmMl7kV9Txw9iKs_6GZeXHHFk5k77EBoeYMi9Fen9AHJImnxcQrXlOQK?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"rename the costume look left\"\/><\/figure>\n\n\n\n<p>Your penguin now has different costumes to show which direction he\u2019s facing.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-2-change-the-costume-with-arrow-keys\">2. Change the costume with arrow keys<\/h3>\n\n\n\n<p>Go back to the Code tab to add code to the penguin sprite. Under each key press, we will switch the costume to match the direction the penguin is facing.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Under the <strong>when right key pressed<\/strong>, add a <strong>switch costume to look right<\/strong><\/li>\n\n\n\n<li>Under the <strong>when left key pressed<\/strong>, add a <strong>switch costume to look left<\/strong><\/li>\n\n\n\n<li>Under the <strong>when up key pressed<\/strong>, add a <strong>switch costume to look front<\/strong><\/li>\n\n\n\n<li>Under the <strong>when down key pressed<\/strong>, add a <strong>switch costume to look front<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcZAyoK6g1sLQAQooSNEKKWvoIPHWDKZp1PLPwqdiJ8zfSAWEbaDmlxnrKs3hXdmvkN6iDevxJV1JvhUunCnDHuEBfZNQ1IZVPQ3gP9t42v8PGECB4_PnXpeZRPLGZUAx4LU83UYNYrIIbKEYH56Yvl8aw?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"switch costumes block added to arro key blocks\"\/><\/figure>\n\n\n\n<p>Try pressing the arrow keys and see if your penguin is facing the right direction.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-3-set-the-costume-when-the-game-starts\">3. Set the costume when the game starts<\/h3>\n\n\n\n<p>But, when we press the green flag the penguin isn\u2019t always facing forward.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Under the <strong>when green flag clicked block<\/strong>, add a <strong>switch costume to look front<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXfc7gTuEx4uzXscl_60Hq-B4eRbw55jMSTQ32CeWrSWguxXvu278Vq7BMvGJLN1_lIPp-7L-e6d_5834q9F--d9zr0ef89Z8_rnZYwGAYw6_8kjW1iIOpv7y6NYAqoyxLGD-_umjK6JjMA2yIoGbH8PhHM?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"switch costume to look front\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXem1y-38j2DNMkMVuwnJR23kri5q3yc7AkLhOP6vdNPWbr8PH30U6ujuEuOV3AXVGRzc00ffkBqu1kQ2DG3HFyysGfSe9MBJJ1UkESHutCsrbOmU8MPPIcJoCjzYUxHGzrc3EKmmLIzZ3hO3FiB7bK6pnIb?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"completed code to switch costumes\"\/><\/figure>\n\n\n\n<p>Start the game over by pressing the green flag. Your penguin should start looking forward, then look right or left depending on which direction it\u2019s moving.&nbsp;<\/p>\n\n\n\n<p>Now your penguin is animated to look like it\u2019s walking.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-bonus-add-a-timer-nbsp\">Bonus: Add a timer&nbsp;<\/h2>\n\n\n\n<p>We can <a href=\"https:\/\/www.codewizardshq.com\/how-to-make-a-timer-in-scratch\/\">add a timer<\/a> to make the maze more challenging. Let\u2019s give the player 60 seconds to complete the maze game before the penguin disappears.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-1-create-a-time-variable\">1. Create a Time variable<\/h3>\n\n\n\n<p>A variable is used to hold information that changes. Our time decreases every one second, so we can use a variable to save that value.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to variable category, right-click<strong> my variable<\/strong> and <strong>rename <\/strong>it to <strong>Time<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXeWmpcPziFPr52pC9_aRFk7Qc6Wo4C89-U3pUHpy27p2mEArYCXcabJCgpdE6eZyfz7Ub7wtgtq-Wn7wnc28bKMWwhtaf3VvpJrokZJELR-9B8rDdrn-WggyStMG77keyQG8-mTf2ewevB8cyreqUTwBkI?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Check off <\/strong>the box next to the Time variable<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdBLbHgwMp4TcvOxTnyVdN2ltccdXfaq7jIegr8XleRXVS56vi4SVkO3ugiJAbsci708EO6WeEleHdDdCFJ1GYNj15SfVbMx0jfa-fgnZ4ZMFjYS77Q91oVC0aTuSwSv_v_cxcC16hGUe5cx_DYp6Vhycg?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"\"\/><\/figure>\n\n\n\n<p>You should see the Time variable in your game preview now.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-2-start-the-timer-nbsp\">2. Start the Timer&nbsp;<\/h3>\n\n\n\n<p>If we want the player to have 60 seconds to play, we should set the timer to start at 60.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Add a <strong>When green flag clicked<\/strong> block<\/li>\n\n\n\n<li>From the variable category, drag a <strong>set Time to 60<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXd1hopvkj4PnGQyUN9spAnYz0O90TWrWHRvfTNIwvx8z0EWm6oYrzgQEwbocM59uSPnzLqr-lC62agOB0rj7et8xJBbvlREp_Nfh1tUASoXZRXCKWV3b0NXjoJdm6gUcwRoGNQQrwFwJcfPoNPfcEgo-C1-?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"set time to 60\"\/><\/figure>\n\n\n\n<p>Press the green flag to see the time reset.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-3-count-down-the-timer\">3. Count down the timer<\/h3>\n\n\n\n<p>Use a loop to count down the timer every 1 second.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Add a <strong>Repeat until <\/strong>loop under the set Time block<\/li>\n\n\n\n<li>In the operators category, add a <strong>less than<\/strong> block in the repeat until loop. Repeat until <strong>Time &lt; 1<\/strong>.<\/li>\n\n\n\n<li>Add a <strong>wait 1 second<\/strong> block inside the loop<\/li>\n\n\n\n<li>Then decrease the time variable using <strong>change Time by -1<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcsljhMzhfs6EZYCGBC40BQdkqpx0in88APCTLD7UcfGk2SmwH2rhwtlVG1jp4JFfLhT0CIMeL--KVt9fVVEis5_I1qjTYv-dOBgqM9o9dhrt3WQeRbys6zDhH3FWJDIOSLeJXPQZXUAw3GeuVtgssMC1Hv?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"loop to count down the timer\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcZ8aCBG9LERJfHUEeMofXc8SnGolHYADJKKNRx6gqo2hFcqcma2P4kcPPLK5LRS15ReViA8TSb20aCD37QVVRqX3NzzU8gCx6aPibpf_kejp0mK_jMHM4NIBvxOwDP6iiHulVMmkiSFWzhdBz3Qs_IQz2Q?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"showing timer in game preview\"\/><\/figure>\n\n\n\n<p>Press the green flag to see the time counting down.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-4-show-and-hide-the-penguin\">4. Show and hide the penguin<\/h3>\n\n\n\n<p>The penguin should show when the game starts, but hide after the time runs out.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>After the<strong> <\/strong>When green flag clicked block, add a <strong>show <\/strong>block<\/li>\n\n\n\n<li>After the Repeat until loop, add a <strong>hide <\/strong>block<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcRZ3-px7R6ZI5yiOuDSMi-2ufHeXaTxmzyEBZMj3-qvLrhDvYujzqaGtD6ypkZ9lXX1giXiWoZxnpf800Fr-LD7ETRwUBoM_6ja81PlPIPeeRJa385ajd_O7VU6ptV_snPXHzs010NKbhgscixrCdYs0k?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"add show and hide blocks\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXdYVnWmlYJNij-H4hyv_T61lr-BiiKoYCn-Hin-nyncvkZKXWpK4BmG5cpU3NQUW7HLULqAoxKgxmu_KnskWmbhbpCM8smKpPeChgZjDoxbQYjonKHoOtKzsg1eTfnrY0iUfw1igAh3VuN9V8H53NUHbN08?key=qcuZTNChH5EKdI_MJcZnfw\" alt=\"show and hide penguin \"\/><\/figure>\n\n\n\n<p>That\u2019s it! Press the green flag to test your timer one more time. It should be counting down the time and hiding the penguin once the time runs out.<\/p>\n\n\n\n<p>Give yourself a pat on the back. You completed the maze game tutorial. See the <a href=\"https:\/\/scratch.mit.edu\/projects\/1078763891\/\">complete game with bonuses and remix it<\/a>.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-more-scratch-tutorials-for-kids\">More Scratch Tutorials for Kids<\/h2>\n\n\n\n<p>Try making another Scratch game using a fun step-by-step tutorial:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><a href=\"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-valentines-card-2021\/\">Valentine\u2019s Day Card Scratch Tutorial<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-holiday-2020\/\">Holidays Advent Calendar Scratch Tutorial<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-halloween-2020\/\">Halloween Candy Collector Game Scratch Tutorial<\/a><\/strong><\/li>\n\n\n\n<li><a href=\"https:\/\/www.codewizardshq.com\/scratch-tutorial-for-kids-flying-space-cat\/\"><strong>Flying Space Cat Scratch Tutorial<\/strong><\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.codewizardshq.com\/how-to-make-flappy-bird-on-scratch\/\"><strong>How to Make Flappy Bird on Scratch<\/strong><\/a><\/li>\n\n\n\n<li><strong><a href=\"https:\/\/www.codewizardshq.com\/how-to-make-a-game-on-scratch\/\">How To Make a Game on Scratch<\/a><\/strong><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-download-free-printable-scratch-coding-tutorials-pdf\">Download Free Printable Scratch Coding Tutorials PDF<\/h2>\n\n\n\n<p>Get the Rocketship Landing game and Flying Space Cat Scratch tutorials in a printable format.<\/p>\n\n\n<!-- This site is converting visitors into subscribers and customers with OptinMonster - https:\/\/optinmonster.com :: Campaign Title: Scratch Coding Tutorials with Location [Download] -->\n<div id=\"om-i88ehlfzgijqlvmuilzg-holder\"><\/div>\n<script>(function(d,u,ac){var s=d.createElement('script');s.type='text\/javascript';s.src='https:\/\/a.omappapi.com\/app\/js\/api.min.js';s.async=true;s.dataset.user=u;s.dataset.campaign=ac;d.getElementsByTagName('head')[0].appendChild(s);})(document,16320,'i88ehlfzgijqlvmuilzg');<\/script>\n<!-- \/ OptinMonster -->\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-code-more-games-in-scratch\">Code more games in Scratch!<\/h2>\n\n\n\n<p><strong>Continue coding games in Scratch with the guidance of a live, expert instructor. <\/strong>We teach kids how to code and practice analytical thinking, computational thinking, problem-solving, and logical reasoning.<\/p>\n\n\n\n<p>Kids, ages 8-10, who want to learn more about Scratch coding can join the <a href=\"https:\/\/www.codewizardshq.com\/coding-classes-elementary-school-students\/\">Elementary School Core Track<\/a>. We offer a structured Scratch curriculum with project-based learning for hands-on practice. <a href=\"https:\/\/enroll.codewizardshq.com\/\">Enroll today<\/a> to get started.<\/p>\n\n\n\n<p>Learn to make games in Scratch in our <a href=\"https:\/\/www.codewizardshq.com\/coding-programs-for-kids\/\">top-rated coding classes for kids<\/a>.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A maze is a simple puzzle where you try to find your way from the beginning to the end. Completing a maze tests your memory, problem-solving skills, and patience. Coding does the same! Both require having to think logically and in order.&nbsp;&nbsp; In this tutorial, I\u2019ll show you an easy and fun way to code [&hellip;]<\/p>\n","protected":false},"author":24,"featured_media":66540,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"inline_featured_image":false,"_lmt_disableupdate":"yes","_lmt_disable":"","footnotes":""},"categories":[10809,4758],"tags":[10740,10814],"class_list":["post-66538","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-activities","category-learn-coding","tag-scratch","tag-tutorials"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.8 (Yoast SEO v26.8) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Make a Maze in Scratch in 7 steps | CodeWizardsHQ<\/title>\n<meta name=\"description\" content=\"Step-by-step tutorial on how to make a maze game in Scratch. Code a simple Scratch maze game for beginners and kids ages 8+.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Make a Maze in Scratch in 7 steps\" \/>\n<meta property=\"og:description\" content=\"Step-by-step tutorial on how to make a maze game in Scratch. Code a simple Scratch maze game for beginners and kids ages 8+.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/\" \/>\n<meta property=\"og:site_name\" content=\"CodeWizardsHQ\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/codewizardshq\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-18T02:35:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-02T22:52:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2024\/11\/How-to-code-a-maze-social-banner.png\" \/>\n\t<meta property=\"og:image:width\" content=\"620\" \/>\n\t<meta property=\"og:image:height\" content=\"323\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Margaret Choi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@codewizardshq\" \/>\n<meta name=\"twitter:site\" content=\"@codewizardshq\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Margaret Choi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"15 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\n\t    \"@context\": \"https:\/\/schema.org\",\n\t    \"@graph\": [\n\t        {\n\t            \"@type\": \"Article\",\n\t            \"@id\": \"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/#article\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/\"\n\t            },\n\t            \"author\": {\n\t                \"name\": \"Margaret Choi\",\n\t                \"@id\": \"https:\/\/www.codewizardshq.com\/#\/schema\/person\/0d1794273fcc4d0b634d50375e00e1ca\"\n\t            },\n\t            \"headline\": \"How to Make a Maze in Scratch in 7 steps\",\n\t            \"datePublished\": \"2024-11-18T02:35:31+00:00\",\n\t            \"dateModified\": \"2025-06-02T22:52:12+00:00\",\n\t            \"mainEntityOfPage\": {\n\t                \"@id\": \"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/\"\n\t            },\n\t            \"wordCount\": 2305,\n\t            \"publisher\": {\n\t                \"@id\": \"https:\/\/www.codewizardshq.com\/#organization\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2024\/11\/How-to-code-a-maze-page-banner.png\",\n\t            \"keywords\": [\n\t                \"Scratch\",\n\t                \"tutorials\"\n\t            ],\n\t            \"articleSection\": [\n\t                \"Activities\",\n\t                \"Learn Coding\"\n\t            ],\n\t            \"inLanguage\": \"en-US\"\n\t        },\n\t        {\n\t            \"@type\": \"WebPage\",\n\t            \"@id\": \"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/\",\n\t            \"url\": \"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/\",\n\t            \"name\": \"How to Make a Maze in Scratch in 7 steps | CodeWizardsHQ\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\/\/www.codewizardshq.com\/#website\"\n\t            },\n\t            \"primaryImageOfPage\": {\n\t                \"@id\": \"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/#primaryimage\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2024\/11\/How-to-code-a-maze-page-banner.png\",\n\t            \"datePublished\": \"2024-11-18T02:35:31+00:00\",\n\t            \"dateModified\": \"2025-06-02T22:52:12+00:00\",\n\t            \"description\": \"Step-by-step tutorial on how to make a maze game in Scratch. Code a simple Scratch maze game for beginners and kids ages 8+.\",\n\t            \"breadcrumb\": {\n\t                \"@id\": \"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/#breadcrumb\"\n\t            },\n\t            \"inLanguage\": \"en-US\",\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"ReadAction\",\n\t                    \"target\": [\n\t                        \"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/\"\n\t                    ]\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"ImageObject\",\n\t            \"inLanguage\": \"en-US\",\n\t            \"@id\": \"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/#primaryimage\",\n\t            \"url\": \"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2024\/11\/How-to-code-a-maze-page-banner.png\",\n\t            \"contentUrl\": \"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2024\/11\/How-to-code-a-maze-page-banner.png\",\n\t            \"width\": 1600,\n\t            \"height\": 395,\n\t            \"caption\": \"How to code a maze page banner\"\n\t        },\n\t        {\n\t            \"@type\": \"BreadcrumbList\",\n\t            \"@id\": \"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/#breadcrumb\",\n\t            \"itemListElement\": [\n\t                {\n\t                    \"@type\": \"ListItem\",\n\t                    \"position\": 1,\n\t                    \"name\": \"Home\",\n\t                    \"item\": \"https:\/\/www.codewizardshq.com\/\"\n\t                },\n\t                {\n\t                    \"@type\": \"ListItem\",\n\t                    \"position\": 2,\n\t                    \"name\": \"How to Make a Maze in Scratch in 7 steps\"\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"WebSite\",\n\t            \"@id\": \"https:\/\/www.codewizardshq.com\/#website\",\n\t            \"url\": \"https:\/\/www.codewizardshq.com\/\",\n\t            \"name\": \"CodeWizardsHQ\",\n\t            \"description\": \"The leading online coding academy for kids and teens ages 8-18\",\n\t            \"publisher\": {\n\t                \"@id\": \"https:\/\/www.codewizardshq.com\/#organization\"\n\t            },\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"SearchAction\",\n\t                    \"target\": {\n\t                        \"@type\": \"EntryPoint\",\n\t                        \"urlTemplate\": \"https:\/\/www.codewizardshq.com\/?s={search_term_string}\"\n\t                    },\n\t                    \"query-input\": {\n\t                        \"@type\": \"PropertyValueSpecification\",\n\t                        \"valueRequired\": true,\n\t                        \"valueName\": \"search_term_string\"\n\t                    }\n\t                }\n\t            ],\n\t            \"inLanguage\": \"en-US\"\n\t        },\n\t        {\n\t            \"@type\": \"Organization\",\n\t            \"@id\": \"https:\/\/www.codewizardshq.com\/#organization\",\n\t            \"name\": \"CodeWizardsHQ\",\n\t            \"url\": \"https:\/\/www.codewizardshq.com\/\",\n\t            \"logo\": {\n\t                \"@type\": \"ImageObject\",\n\t                \"inLanguage\": \"en-US\",\n\t                \"@id\": \"https:\/\/www.codewizardshq.com\/#\/schema\/logo\/image\/\",\n\t                \"url\": \"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2016\/08\/blueVertical@2x-e1572141901928.png\",\n\t                \"contentUrl\": \"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2016\/08\/blueVertical@2x-e1572141901928.png\",\n\t                \"width\": 150,\n\t                \"height\": 108,\n\t                \"caption\": \"CodeWizardsHQ\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\/\/www.codewizardshq.com\/#\/schema\/logo\/image\/\"\n\t            },\n\t            \"sameAs\": [\n\t                \"https:\/\/www.facebook.com\/codewizardshq\/\",\n\t                \"https:\/\/x.com\/codewizardshq\",\n\t                \"https:\/\/www.instagram.com\/codewizardshq\/\",\n\t                \"https:\/\/www.linkedin.com\/company\/codewizardshq\",\n\t                \"https:\/\/www.pinterest.com\/codewizardshq\/\",\n\t                \"https:\/\/www.youtube.com\/channel\/UC4NM0jfN0LI8_vWtiwLqgGw\"\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"Person\",\n\t            \"@id\": \"https:\/\/www.codewizardshq.com\/#\/schema\/person\/0d1794273fcc4d0b634d50375e00e1ca\",\n\t            \"name\": \"Margaret Choi\",\n\t            \"image\": {\n\t                \"@type\": \"ImageObject\",\n\t                \"inLanguage\": \"en-US\",\n\t                \"@id\": \"https:\/\/www.codewizardshq.com\/#\/schema\/person\/image\/\",\n\t                \"url\": \"https:\/\/secure.gravatar.com\/avatar\/7815305d40218c8baa3db95a35d697293aad7b383484ae7e26b6383e0f67b6ba?s=96&d=mm&r=g\",\n\t                \"contentUrl\": \"https:\/\/secure.gravatar.com\/avatar\/7815305d40218c8baa3db95a35d697293aad7b383484ae7e26b6383e0f67b6ba?s=96&d=mm&r=g\",\n\t                \"caption\": \"Margaret Choi\"\n\t            },\n\t            \"description\": \"Instructor and marketing manager at CodeWizardsHQ since 2019. She breaks down topics around coding and specific coding languages for kids to understand.\",\n\t            \"sameAs\": [\n\t                \"https:\/\/www.facebook.com\/margaret.choi.3\"\n\t            ],\n\t            \"url\": \"https:\/\/www.codewizardshq.com\/author\/margaretchoi\/\"\n\t        }\n\t    ]\n\t}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Make a Maze in Scratch in 7 steps | CodeWizardsHQ","description":"Step-by-step tutorial on how to make a maze game in Scratch. Code a simple Scratch maze game for beginners and kids ages 8+.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/","og_locale":"en_US","og_type":"article","og_title":"How to Make a Maze in Scratch in 7 steps","og_description":"Step-by-step tutorial on how to make a maze game in Scratch. Code a simple Scratch maze game for beginners and kids ages 8+.","og_url":"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/","og_site_name":"CodeWizardsHQ","article_publisher":"https:\/\/www.facebook.com\/codewizardshq\/","article_published_time":"2024-11-18T02:35:31+00:00","article_modified_time":"2025-06-02T22:52:12+00:00","og_image":[{"width":620,"height":323,"url":"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2024\/11\/How-to-code-a-maze-social-banner.png","type":"image\/png"}],"author":"Margaret Choi","twitter_card":"summary_large_image","twitter_creator":"@codewizardshq","twitter_site":"@codewizardshq","twitter_misc":{"Written by":"Margaret Choi","Est. reading time":"15 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/#article","isPartOf":{"@id":"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/"},"author":{"name":"Margaret Choi","@id":"https:\/\/www.codewizardshq.com\/#\/schema\/person\/0d1794273fcc4d0b634d50375e00e1ca"},"headline":"How to Make a Maze in Scratch in 7 steps","datePublished":"2024-11-18T02:35:31+00:00","dateModified":"2025-06-02T22:52:12+00:00","mainEntityOfPage":{"@id":"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/"},"wordCount":2305,"publisher":{"@id":"https:\/\/www.codewizardshq.com\/#organization"},"image":{"@id":"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2024\/11\/How-to-code-a-maze-page-banner.png","keywords":["Scratch","tutorials"],"articleSection":["Activities","Learn Coding"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/","url":"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/","name":"How to Make a Maze in Scratch in 7 steps | CodeWizardsHQ","isPartOf":{"@id":"https:\/\/www.codewizardshq.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/#primaryimage"},"image":{"@id":"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2024\/11\/How-to-code-a-maze-page-banner.png","datePublished":"2024-11-18T02:35:31+00:00","dateModified":"2025-06-02T22:52:12+00:00","description":"Step-by-step tutorial on how to make a maze game in Scratch. Code a simple Scratch maze game for beginners and kids ages 8+.","breadcrumb":{"@id":"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/#primaryimage","url":"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2024\/11\/How-to-code-a-maze-page-banner.png","contentUrl":"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2024\/11\/How-to-code-a-maze-page-banner.png","width":1600,"height":395,"caption":"How to code a maze page banner"},{"@type":"BreadcrumbList","@id":"https:\/\/www.codewizardshq.com\/how-to-make-a-maze-in-scratch-in-7-steps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.codewizardshq.com\/"},{"@type":"ListItem","position":2,"name":"How to Make a Maze in Scratch in 7 steps"}]},{"@type":"WebSite","@id":"https:\/\/www.codewizardshq.com\/#website","url":"https:\/\/www.codewizardshq.com\/","name":"CodeWizardsHQ","description":"The leading online coding academy for kids and teens ages 8-18","publisher":{"@id":"https:\/\/www.codewizardshq.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.codewizardshq.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.codewizardshq.com\/#organization","name":"CodeWizardsHQ","url":"https:\/\/www.codewizardshq.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.codewizardshq.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2016\/08\/blueVertical@2x-e1572141901928.png","contentUrl":"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2016\/08\/blueVertical@2x-e1572141901928.png","width":150,"height":108,"caption":"CodeWizardsHQ"},"image":{"@id":"https:\/\/www.codewizardshq.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/codewizardshq\/","https:\/\/x.com\/codewizardshq","https:\/\/www.instagram.com\/codewizardshq\/","https:\/\/www.linkedin.com\/company\/codewizardshq","https:\/\/www.pinterest.com\/codewizardshq\/","https:\/\/www.youtube.com\/channel\/UC4NM0jfN0LI8_vWtiwLqgGw"]},{"@type":"Person","@id":"https:\/\/www.codewizardshq.com\/#\/schema\/person\/0d1794273fcc4d0b634d50375e00e1ca","name":"Margaret Choi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.codewizardshq.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7815305d40218c8baa3db95a35d697293aad7b383484ae7e26b6383e0f67b6ba?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7815305d40218c8baa3db95a35d697293aad7b383484ae7e26b6383e0f67b6ba?s=96&d=mm&r=g","caption":"Margaret Choi"},"description":"Instructor and marketing manager at CodeWizardsHQ since 2019. She breaks down topics around coding and specific coding languages for kids to understand.","sameAs":["https:\/\/www.facebook.com\/margaret.choi.3"],"url":"https:\/\/www.codewizardshq.com\/author\/margaretchoi\/"}]}},"modified_by":"Margaret Choi","featured_image_src":"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2024\/11\/How-to-code-a-maze-page-banner-600x395.png","featured_image_src_square":"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2024\/11\/How-to-code-a-maze-page-banner-600x395.png","author_info":{"display_name":"Margaret Choi","author_link":"https:\/\/www.codewizardshq.com\/author\/margaretchoi\/"},"_links":{"self":[{"href":"https:\/\/www.codewizardshq.com\/wp-json\/wp\/v2\/posts\/66538","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codewizardshq.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codewizardshq.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codewizardshq.com\/wp-json\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codewizardshq.com\/wp-json\/wp\/v2\/comments?post=66538"}],"version-history":[{"count":4,"href":"https:\/\/www.codewizardshq.com\/wp-json\/wp\/v2\/posts\/66538\/revisions"}],"predecessor-version":[{"id":69576,"href":"https:\/\/www.codewizardshq.com\/wp-json\/wp\/v2\/posts\/66538\/revisions\/69576"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.codewizardshq.com\/wp-json\/wp\/v2\/media\/66540"}],"wp:attachment":[{"href":"https:\/\/www.codewizardshq.com\/wp-json\/wp\/v2\/media?parent=66538"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codewizardshq.com\/wp-json\/wp\/v2\/categories?post=66538"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codewizardshq.com\/wp-json\/wp\/v2\/tags?post=66538"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}