{"id":34141,"date":"2020-10-16T00:52:05","date_gmt":"2020-10-16T06:52:05","guid":{"rendered":"https:\/\/www.codewizardshq.com\/?p=34141"},"modified":"2025-08-26T04:48:38","modified_gmt":"2025-08-26T10:48:38","slug":"scratch-coding-for-kids-halloween-2020","status":"publish","type":"post","link":"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-halloween-2020\/","title":{"rendered":"Scratch Coding for Kids: Halloween Candy Collector Game"},"content":{"rendered":"\n<p><strong>Halloween is just around the corner and the candy hunt is on!<\/strong> Instead of going door to door, let\u2019s use code to get our candy fix.<\/p>\n\n\n\n<!--more-->\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Complete this easy Scratch coding tutorial to build your own trick-or-treat candy collector game.<\/strong><\/h2>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>What is <a href=\"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids\/\">Scratch<\/a>? <\/strong>Scratch is a 100% free block-based programming language that lets you drag and drop code blocks to build fun games and apps. Scratch is a preferred introductory programming platform for younger students and it teaches powerful programming concepts like variables, loops, and conditionals.&nbsp;&nbsp;<\/p>\n\n\n<p style=\"background: none repeat scroll 0 0 #ecf3f6; clear: both; margin-bottom: 18px; overflow: hidden; border: 1px solid #011e41; padding: 16px;\"><span>\ud83d\udccc<\/span><small><strong> [Download] Printable Scratch Coding Tutorials <\/strong> Get 2 printable Scratch tutorials, Rocket Landing and Flying Space Cat, to code your own games step by step. <a href=\"#download\">Download Now<\/a><\/small><\/p>\n\n\n\n<p>Code this easy Scratch game then compete with your friends and family for the most candy this Halloween.&nbsp;<\/p>\n\n\n\n<p><a href=\"https:\/\/scratch.mit.edu\/projects\/430923570\/\">Play Halloween Candy Collector<\/a>&nbsp;<\/p>\n\n\n<div class=\"lazyblock-cw1-wide-post-container-1vHzAK wp-block-lazyblock-cw1-wide-post-container\"><div class=\"wide \"><div class=\"lazyblock-inner-blocks\">\n\n<div class=\"wp-block-atomic-blocks-ab-container table-of-contents ab-block-container\"><div class=\"ab-container-inside\"><div class=\"ab-container-content\">\n<p class=\"title\">Table of Contents<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#video-tutorial\"><strong>Video Tutorial<\/strong><\/a><\/li>\n\n\n\n<li><strong><a href=\"#newproject\">Step 1: Create a new Scratch project<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"#images\">Step 2: Upload background and character images<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"#size\">Step 3: Change the size of your characters<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"#gameover\">Step 4: Hide the \u201cgameover\u201d sprite<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"#moveghost\">Step 5: Get your ghost moving<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"#random\">Step 6: Make your candy appear in random spots<\/a><\/strong><\/li>\n\n\n\n<li><a href=\"#time\"><strong>Step 7: Add a 30 second time constraint<\/strong><\/a><\/li>\n\n\n\n<li><strong><a href=\"#showgameover\">Step 8: Show \u201cgameover\u201d sprite when time is up<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"#score\">Step 9: Add a score<\/a><\/strong><\/li>\n<\/ul>\n\n\n\n<p><\/p>\n<\/div><\/div><\/div>\n\n<\/div><\/div><\/div>\n\n\n<h2 class=\"wp-block-heading\"><strong>What you need:<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Scratch account<\/strong>: <a href=\"https:\/\/scratch.mit.edu\/\">Create a free Scratch account<\/a>&nbsp;<\/li>\n<\/ol>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li><strong>Starter files<\/strong>: Download the images we are using in our game. You can also use your own images to customize your application.&nbsp;<a href=\"https:\/\/drive.google.com\/drive\/folders\/1rbOtOTbkUlXQ9WTUoFcJ23BYp1Eos6gt\">Download starter files<\/a><\/li>\n<\/ol>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>No coding experience is necessary for this tutorial. Beginner-friendly for ages 8 and up. Give it a try!<\/strong><\/h3>\n\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=\"video-tutorial\">Scratch Coding: Halloween <strong>Video Tutorial<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"iframe-container\"><iframe loading=\"lazy\" title=\"CodeWizardsHQ Free Scratch Coding Halloween 2020\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/dUdA5hc5fwU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n<\/div><\/figure>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 1: Create a new Scratch project<\/strong><\/h2>\n\n\n\n<p>Let\u2019s start by creating a new project.&nbsp;<\/p>\n\n\n\n<p>Visit <a href=\"https:\/\/scratch.mit.edu\/\">https:\/\/scratch.mit.edu\/<\/a>, login to your account, and click on the \u201cCreate\u201d button.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"#step1\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/a4VHrS5zEbcgCnLbxu1bR682-l6SrrzIQnV8zzkb13stZWWwogZWEYecc-AttxRIpoNQ_RdAl5JpO5B6CugEO69I4LA_fEOLEy0aoV_2e-ihrhc8X30DevSuP0Bg7yDvmS8gmo7Q\" alt=\"Scratch tutorial step 1\"\/><\/a><\/figure>\n\n\n\n<a style=\"text-align: right;\" href=\"https:\/\/twitter.com\/share?ref_src=twsrc%5Etfw\" class=\"twitter-share-button\" data-text=\"Check out this free Halloween coding tutorial for kids! \" data-url=\"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-halloween-2020#step1\" data-via=\"codewizardshq\" data-hashtags=\"tricodetreat\" data-show-count=\"false\">Tweet<\/a><script async=\"\" src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Now, we can code your game!&nbsp;<\/p>\n\n\n\n<p><strong><em>Hint:<\/em><\/strong><em> You can also <\/em><a href=\"https:\/\/scratch.mit.edu\/projects\/430923570\/\"><em>remix this project<\/em><\/a><em> and others to see the code.<\/em><\/p>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 2: Upload background and character images<\/strong><\/h2>\n\n\n\n<p>A new project will open up and you can see the Scratch interface.<\/p>\n\n\n\n<p>In the <a href=\"https:\/\/drive.google.com\/drive\/folders\/1rbOtOTbkUlXQ9WTUoFcJ23BYp1Eos6gt\" target=\"_blank\" rel=\"noreferrer noopener\">starter files<\/a>, we\u2019ve included images for your player, the candy, game over screen, and 5 different spooky settings.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Start by deleting the Scratch cat sprite that appears in every new project.&nbsp;<\/li>\n\n\n\n<li>Add all of the background images by clicking \u201cUpload Background\u201d.&nbsp;<\/li>\n\n\n\n<li>Add all of the character images by clicking \u201cUpload sprite\u201d.&nbsp;<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/xM3SUw82aEu4AegcpvOX8oZFZ6HQndw7kmeP8j_sqswetVJAHhhyxLgOp5s9EUspaPYsKoTHKGDjbmejL6crQu6mOvZ8b4wWa9X3-LwiKoKnGVqPPLzX7zM_cvw17sYoHhcx0nDB\" alt=\"Scratch tutorial step 2\"\/><\/figure>\n\n\n\n<p><em>Hint: You can use any of your own images as sprites to customize your game, select images from Scratch, or even draw your own.<\/em><\/p>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Step 3: Change the size of your characters<\/strong><\/h2>\n\n\n\n<p>In Scratch, your character images are called sprites. Click on each sprite, then change the \u201cSize\u201d property.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Boo: Size 30<\/li>\n\n\n\n<li>Candy: Size 10<\/li>\n\n\n\n<li>Gameover: Size 70<\/li>\n<\/ul>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>You can also click on your \u201cgameover\u201d image in the preview area and drag to move the image around.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/_pHbhyb25n7vKG9et3_OKm93hE6kCacW22ZwR0ajaY2R5DnrlqDCNCZ-6WvSPJHH4Xei9SrO7wOsGK0-_jP7iaJ2AqPQyvI_AX_mREQggFu6YWgMgSOwWkW5fEO1JlsrIQ3v00H5\" alt=\"Scratch tutorial step 3\"\/><\/figure>\n\n\n\n<p><em>Hint: Make the candy bigger for an easier game or make it really small for a harder game.&nbsp;<\/em><\/p>\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\"><strong>Step 4: Hide the \u201cgameover\u201d sprite<\/strong><\/h3>\n\n\n\n<p>We don\u2019t want our game to be over before we start, so let\u2019s hide our \u201cgameover\u201d sprite.&nbsp;<\/p>\n\n\n\n<p>In the Scratch interface, you can see the code blocks on the left under the \u201cCode\u201d tab. They are arranged in categories by color. Simply click and drag the block you want into the blank code area.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/d5tmb-1Jd8TTzA60SOlezjGxQpZZ5zd1keeaTyi9uoslqrT5qtkj3Nikgp1v0qwZfIprM7-GcDQakn5jc1PiBsUGea5_v9oToh4cNdwNDcbmNQJoFIjYlAvJAlLnqJDnpwHRoivU\" alt=\"Scratch tutorial step 4.1\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/QDYniQI217_E9s8yjf6RJgjRCVX9SUgsUGi6Jnm6qDyo_LZ-HnIYelUZxeY9C6-fdPjbbSXsIJ8qERETH9wHeVV4CF9Bo50MDDYrnG6B26o8XlbacTxQXSh7MJG_XxvNwcxrsbrE\" alt=\"Scratch tutorial step 4.2\"\/><\/figure>\n\n\n\n<p><em>Hint: The \u201cWhen Green Flag Clicked\u201d block helps us start our program. Just click the green flag near the preview screen to run your code.<\/em><\/p>\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\"><strong>Step 5: Get your ghost moving<\/strong><\/h3>\n\n\n\n<p>Next, we want our ghost follow our mouse cursor to get it moving.&nbsp;<\/p>\n\n\n\n<p>We can use a \u201cForever\u201d block, which acts like a loop to repeat code. Paired with the \u201cGo to mouse pointer\u201d block means the ghost will forever go to the location of the mouse.<\/p>\n\n\n\n<p>Click on your \u201cboo\u201d sprite to add code to it.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/hWGV5WLUX6d0L7dIkf5AhguFrf1g9HaqJdDeFh3EjfKdtMoU5pDvCgix1f_Vrdu7RjLScVy0LzHrvxSfrn2-SaPS-xXmM1bMfRcY5fSAjcMe6lr9paiAxg8Fe3SzeL-vJcmgwH76\" alt=\"Scratch tutorial step 5.1\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/pR8EfijFdEvqFQIk9KnG6GyEzxMTTrj-kmKPf_9FWsY5TJ7w__qTBUaIzBQuL-GunEBWKQc8UquYVHQ_Aq-tfofz5QhK-Lu7l9MwRrsa9YmZ8ZaQpmVeb35C06enkfeyIsUonb9U\" alt=\"Scratch tutorial step 5.2\"\/><\/figure>\n\n\n\n<p><em>Hint: You can also code your ghost to move when you press up, down, left, and right using motion blocks. Check out bonus step #10 in our <a href=\"https:\/\/www.facebook.com\/groups\/KidWizardsHQ\" target=\"_blank\" rel=\"noreferrer noopener\">KidWizardsHQ group<\/a> to learn how.<\/em><\/p>\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\"><strong>Step 6: Make your candy appear in random spots<\/strong><\/h3>\n\n\n\n<p>Our candy shouldn\u2019t stay in one spot, that\u2019s too easy. Let\u2019s make the candy appear in a random spot each time our ghost touches it.&nbsp;<\/p>\n\n\n\n<p>Click on your \u201ccandy\u201d sprite to add this code to it.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/WN3cbTiUuCE31vmudJIJ0QU5wZV-W9_W7nNX0LAvJTehNqT44LgD0KMXaBy0OF1VbSBlsVMeBy2WRPeSHzX4iq8-l0_aPmj5t1mCRZ753vum8pOFkoZXDHZbURvLtD2sHpwqg2pi\" alt=\"Scratch tutorial step 6\"\/><\/figure>\n\n\n\n<p><em>Hint: You can also add a sound effect when your ghost eats a candy. Check out bonus step #11 in our <a href=\"https:\/\/www.facebook.com\/groups\/KidWizardsHQ\">KidWizardsHQ group<\/a> to learn how.<\/em><\/p>\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\"><strong>Step 7: Add a 30 second time constraint<\/strong><\/h3>\n\n\n\n<p>We have 5 total backgrounds. If we show each background for 6 seconds, we get a game time of 30 seconds.&nbsp;<\/p>\n\n\n\n<p>You can choose which background you want to appear first but adding a \u201cSwitch Backdrop\u201d block under the \u201cWhen Green Flag is Clicked\u201d.<\/p>\n\n\n\n<p>Click on the background block to add code to it.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/1JSyfqlmOn-G41ikVgrX5o9vACcWG3Ai-Os_0namBf8iYNIp-ypfO9Jk20KCgVwbpgOL_BAFnH2BKWGLHZjtp9L21CgY4fvG899iy2Ar3tzd2VBaDl0VZ3zMOtRuXCbXnSG8_bxN\" alt=\"Scratch tutorial step 7\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/KwwqbgbMa6QL1FaKbqNKh6xA87GOjqTMoNqFgOPxDSReDkWLKsNRtoVSPb7DK_OlI_ccrChTfJbJ9AFm00jebH30Rs-uh_4SD_ZhztB2w9aaDBYBGIUF6hGzGZg3bxv_nPvxlEvt\" alt=\"Scratch tutorial step 7.2\"\/><\/figure>\n\n\n\n<p><em>Hint: Add as many backgrounds as you like or change the wait time to get different game levels.&nbsp;<\/em><\/p>\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\"><strong>Step 8: Show \u201cgameover\u201d sprite when time is up<\/strong><\/h3>\n\n\n\n<p>Once we have shown each background for 6 seconds, the game is over. No more candy!&nbsp;<\/p>\n\n\n\n<p>Since our timer only has code on the background, we need to send a message to the other sprites that hey, the game has ended.&nbsp;<\/p>\n\n\n\n<p>The other sprites will wait for a message and complete some action when it\u2019s received. We\u2019ll call this message \u201cstop\u201d.<\/p>\n\n\n\n<p>Click on the background block and add on to the block you started in Step 7.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/08Wzf56kn-OqpdMd4uXlf_ViUycANj7dBIzikD6-84L1fiOerQJJ4HKtuhWM8NxGlXTNMd1lKiR2aJa9b9m9uQpAQho1H1eZ8jmrFrqdK06Y0sHSdv2lwIP8FcvLdyqf415w3upf\" alt=\"Scratch tutorial step 8\"\/><\/figure>\n\n\n\n<p>We also want to show our \u201cgameover\u201d sprite once the game ends and stop the rest of the game.&nbsp;<\/p>\n\n\n\n<p>Click on the \u201cgameover\u201d sprite to add this code to it. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2023\/08\/8bhalloween.png\"><img loading=\"lazy\" decoding=\"async\" width=\"201\" height=\"156\" src=\"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2023\/08\/8bhalloween.png\" alt=\"step 8b\" class=\"wp-image-57154\"\/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-\"><\/h3>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2023\/08\/8b.gif\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"305\" src=\"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2023\/08\/8b.gif\" alt=\"Step 8b\" class=\"wp-image-57156\"\/><\/a><\/figure>\n\n\n\n<p><em>Hint: If you want to hide your \u201cboo\u201d and \u201ccandy\u201d sprite at the end of the game, send them the \u201cstop\u201d message then hide the sprite.<\/em><\/p>\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\"><strong>Step 9: Add a score<\/strong><\/h3>\n\n\n\n<p>No game is complete without a score to brag about. Our score, since it changes, is assigned to a variable.&nbsp;<\/p>\n\n\n\n<p>Create a \u201cscore\u201d variable by clicking \u201cmake a variable\u201d and call it \u201cscore\u201d. Make sure the box next to your \u201cscore\u201d variable is checked in order to show it in your game.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/vcTE4hD3eTJ61DSBVU9PVJbI0eQ-QId16An2IuVeCm-XI73QWvM0eBtilvOZi3F6dJ4PlF-ypDzHMGPUe8SamdMvXENJeM1ZISIvWHgHKYVoYcUM0Qz0cTNN3QpY7o2_breWNR4S\" alt=\"Scratch tutorial step 9\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/xLHX6ekfI5z-yYzxFc6ezEQpsuXVll8cZCvBbJPyBejO54P6263yeiWNVAcglbqwfDVhN9BGnmMkRiZO1GV5FbdiBLc6IJSRaw5fLilBWPEKxQ23iEefyFSyciVriaIALAhtMQiW\" alt=\"Scratch tutorial step 9.2\"\/><\/figure>\n\n\n\n<p>When you eat a piece of candy, you will want to increase the score by one.&nbsp;<\/p>\n\n\n\n<p>Click on the \u201ccandy\u201d sprite and insert \u201cset\u201d and \u201cchange\u201d variable blocks into the code.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/zNu3LQqQQsPOU7qunfxp2XPAvq-6nW_KETHLJSLBu2EUMZZajqX3tIYuYT_Lf24Lv433zrw49pRv7jnSoTfKbnhFVR7SXTYT7CuVkImWPP3AAhSuY2-ZN67IdZ3zwZSI54HeF6bV\" alt=\"Scratch tutorial step 9.3\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/4c6Kr69_dCv6Q_aEf8bWURcQETFxRi3o04IH-ZsyHZGtXXlGNYx2YxlM5x0kmMB6XTB5j918pdDqfqGIeNT75MB9FnvtP9mudFwbT9K2mwhe2vHCh1VSjV-glqbv_dBZrqVoShbk\" alt=\"Scratch tutorial step 9.4\"\/><\/figure>\n\n\n\n<p><em>Hint: Add another sprite with the same code, but add 5 to the score as a bonus. Or play a trick and add 0.<\/em><\/p>\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\"><strong>Your game is complete!&nbsp;<\/strong><\/h3>\n\n\n\n<p>Take a look at the final product, your candy collector is complete. <a rel=\"noreferrer noopener\" href=\"https:\/\/scratch.mit.edu\/projects\/430923570\/\" target=\"_blank\">Play Halloween Candy Collector.<\/a>&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/XceBZqSuwj3N4nDt_ALPw-tnydJOQOwKAFxZzTxXme6meRGIT9kwvCI2cSMMTM8LPHtirxeLi8KEv67TaHPXlXSKehoYUz1AIjuean-62njJEnGFCPMiVtezgSeHRw-Tg2IkBpJU\" alt=\"Completed halloween candy collector game\"\/><\/figure><\/div>\n\n\n<p>You can \u201csee inside\u201d our <a rel=\"noreferrer noopener\" href=\"https:\/\/scratch.mit.edu\/projects\/430923570\/\" target=\"_blank\">completed candy collector game<\/a> to get a peek at the full Scratch code.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>BONUS <\/strong>Step #10 move your ghost using up, down, left, and right arrow keys<\/li>\n\n\n\n<li><strong>BONUS <\/strong>Step #11 add sound effects when you collect candy<\/li>\n<\/ul>\n\n\n\n<p><em><strong>Recommended:<\/strong>&nbsp;<a href=\"https:\/\/www.codewizardshq.com\/25-best-scratch-games\/\">Scratch Games<\/a><\/em><\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"download\">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\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>We want to see your Halloween games!<\/strong> Share your game using #triCODEtreat on social media and show us your spin on this game.<\/p>\n\n\n\n<p>If you want to build more games in Scratch, check out our <a href=\"https:\/\/www.codewizardshq.com\/coding-classes-elementary-school-students\/\">Elementary School Coding Program<\/a>. It&#8217;s the most fun and effective way to learn Scratch coding and eventually real-world languages like JavaScript and Python.<\/p>\n\n\n\n<p>Happy Halloween! <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Complete this Scratch coding tutorial to build your own trick or treat candy collector game.<\/p>\n","protected":false},"author":24,"featured_media":52525,"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":"no","_lmt_disable":"","footnotes":""},"categories":[10809,4758],"tags":[10744,10745,10743,10808,10815,10740,10814],"class_list":["post-34141","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-activities","category-learn-coding","tag-11-13-years-old","tag-14-years-old","tag-5-10-years-old","tag-code-activities","tag-free-activities","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>Free Scratch Coding for Kids: Halloween Candy Collector Game<\/title>\n<meta name=\"description\" content=\"Free scratch coding activity! Easy game tutorial for kids. How to code a Halloween candy collector game in the Scratch platform. For 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\/scratch-coding-for-kids-halloween-2020\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Scratch Coding for Kids: Halloween Candy Collector Game\" \/>\n<meta property=\"og:description\" content=\"Free scratch coding activity! Easy game tutorial for kids. How to code a Halloween candy collector game in the Scratch platform. For ages 8+.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-halloween-2020\/\" \/>\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=\"2020-10-16T06:52:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-26T10:48:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2020\/10\/Halloween-Coding-2020-620x323-1.jpg\" \/>\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\/jpeg\" \/>\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=\"9 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\/scratch-coding-for-kids-halloween-2020\/#article\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-halloween-2020\/\"\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\": \"Scratch Coding for Kids: Halloween Candy Collector Game\",\n\t            \"datePublished\": \"2020-10-16T06:52:05+00:00\",\n\t            \"dateModified\": \"2025-08-26T10:48:38+00:00\",\n\t            \"mainEntityOfPage\": {\n\t                \"@id\": \"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-halloween-2020\/\"\n\t            },\n\t            \"wordCount\": 1232,\n\t            \"publisher\": {\n\t                \"@id\": \"https:\/\/www.codewizardshq.com\/#organization\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-halloween-2020\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2020\/10\/Halloween-scratch-activity-page-banner.png\",\n\t            \"keywords\": [\n\t                \"11-13 Years Old\",\n\t                \"14+ Years Old\",\n\t                \"5-10 Years Old\",\n\t                \"code activities\",\n\t                \"free activities\",\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\/scratch-coding-for-kids-halloween-2020\/\",\n\t            \"url\": \"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-halloween-2020\/\",\n\t            \"name\": \"Free Scratch Coding for Kids: Halloween Candy Collector Game\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\/\/www.codewizardshq.com\/#website\"\n\t            },\n\t            \"primaryImageOfPage\": {\n\t                \"@id\": \"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-halloween-2020\/#primaryimage\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-halloween-2020\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2020\/10\/Halloween-scratch-activity-page-banner.png\",\n\t            \"datePublished\": \"2020-10-16T06:52:05+00:00\",\n\t            \"dateModified\": \"2025-08-26T10:48:38+00:00\",\n\t            \"description\": \"Free scratch coding activity! Easy game tutorial for kids. How to code a Halloween candy collector game in the Scratch platform. For ages 8+.\",\n\t            \"breadcrumb\": {\n\t                \"@id\": \"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-halloween-2020\/#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\/scratch-coding-for-kids-halloween-2020\/\"\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\/scratch-coding-for-kids-halloween-2020\/#primaryimage\",\n\t            \"url\": \"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2020\/10\/Halloween-scratch-activity-page-banner.png\",\n\t            \"contentUrl\": \"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2020\/10\/Halloween-scratch-activity-page-banner.png\",\n\t            \"width\": 1600,\n\t            \"height\": 395,\n\t            \"caption\": \"Halloween scratch activity page banner\"\n\t        },\n\t        {\n\t            \"@type\": \"BreadcrumbList\",\n\t            \"@id\": \"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-halloween-2020\/#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\": \"Scratch Coding for Kids: Halloween Candy Collector Game\"\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":"Free Scratch Coding for Kids: Halloween Candy Collector Game","description":"Free scratch coding activity! Easy game tutorial for kids. How to code a Halloween candy collector game in the Scratch platform. For 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\/scratch-coding-for-kids-halloween-2020\/","og_locale":"en_US","og_type":"article","og_title":"Scratch Coding for Kids: Halloween Candy Collector Game","og_description":"Free scratch coding activity! Easy game tutorial for kids. How to code a Halloween candy collector game in the Scratch platform. For ages 8+.","og_url":"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-halloween-2020\/","og_site_name":"CodeWizardsHQ","article_publisher":"https:\/\/www.facebook.com\/codewizardshq\/","article_published_time":"2020-10-16T06:52:05+00:00","article_modified_time":"2025-08-26T10:48:38+00:00","og_image":[{"width":620,"height":323,"url":"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2020\/10\/Halloween-Coding-2020-620x323-1.jpg","type":"image\/jpeg"}],"author":"Margaret Choi","twitter_card":"summary_large_image","twitter_creator":"@codewizardshq","twitter_site":"@codewizardshq","twitter_misc":{"Written by":"Margaret Choi","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-halloween-2020\/#article","isPartOf":{"@id":"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-halloween-2020\/"},"author":{"name":"Margaret Choi","@id":"https:\/\/www.codewizardshq.com\/#\/schema\/person\/0d1794273fcc4d0b634d50375e00e1ca"},"headline":"Scratch Coding for Kids: Halloween Candy Collector Game","datePublished":"2020-10-16T06:52:05+00:00","dateModified":"2025-08-26T10:48:38+00:00","mainEntityOfPage":{"@id":"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-halloween-2020\/"},"wordCount":1232,"publisher":{"@id":"https:\/\/www.codewizardshq.com\/#organization"},"image":{"@id":"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-halloween-2020\/#primaryimage"},"thumbnailUrl":"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2020\/10\/Halloween-scratch-activity-page-banner.png","keywords":["11-13 Years Old","14+ Years Old","5-10 Years Old","code activities","free activities","Scratch","tutorials"],"articleSection":["Activities","Learn Coding"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-halloween-2020\/","url":"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-halloween-2020\/","name":"Free Scratch Coding for Kids: Halloween Candy Collector Game","isPartOf":{"@id":"https:\/\/www.codewizardshq.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-halloween-2020\/#primaryimage"},"image":{"@id":"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-halloween-2020\/#primaryimage"},"thumbnailUrl":"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2020\/10\/Halloween-scratch-activity-page-banner.png","datePublished":"2020-10-16T06:52:05+00:00","dateModified":"2025-08-26T10:48:38+00:00","description":"Free scratch coding activity! Easy game tutorial for kids. How to code a Halloween candy collector game in the Scratch platform. For ages 8+.","breadcrumb":{"@id":"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-halloween-2020\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-halloween-2020\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-halloween-2020\/#primaryimage","url":"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2020\/10\/Halloween-scratch-activity-page-banner.png","contentUrl":"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2020\/10\/Halloween-scratch-activity-page-banner.png","width":1600,"height":395,"caption":"Halloween scratch activity page banner"},{"@type":"BreadcrumbList","@id":"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-halloween-2020\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.codewizardshq.com\/"},{"@type":"ListItem","position":2,"name":"Scratch Coding for Kids: Halloween Candy Collector Game"}]},{"@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":"Dima","featured_image_src":"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2020\/10\/Halloween-scratch-activity-page-banner-600x395.png","featured_image_src_square":"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2020\/10\/Halloween-scratch-activity-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\/34141","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=34141"}],"version-history":[{"count":2,"href":"https:\/\/www.codewizardshq.com\/wp-json\/wp\/v2\/posts\/34141\/revisions"}],"predecessor-version":[{"id":71666,"href":"https:\/\/www.codewizardshq.com\/wp-json\/wp\/v2\/posts\/34141\/revisions\/71666"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.codewizardshq.com\/wp-json\/wp\/v2\/media\/52525"}],"wp:attachment":[{"href":"https:\/\/www.codewizardshq.com\/wp-json\/wp\/v2\/media?parent=34141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codewizardshq.com\/wp-json\/wp\/v2\/categories?post=34141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codewizardshq.com\/wp-json\/wp\/v2\/tags?post=34141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}