{"id":37682,"date":"2021-02-02T21:03:09","date_gmt":"2021-02-03T03:03:09","guid":{"rendered":"https:\/\/www.codewizardshq.com\/?p=37682"},"modified":"2023-09-01T21:35:16","modified_gmt":"2023-09-02T03:35:16","slug":"scratch-coding-for-kids-valentines-card-2021","status":"publish","type":"post","link":"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-valentines-card-2021\/","title":{"rendered":"Scratch Coding for Kids: Valentine\u2019s Day Card Scratcher Activity"},"content":{"rendered":"\n<p>Valentine\u2019s Day is a time to bring smiles to that special loved one. This year, you can set hearts aflutter with a handmade, hand-coded card.&nbsp;You will save the trees and spread the love.  <\/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<h2 class=\"wp-block-heading\">Follow this easy Scratch coding tutorial to build a Valentine\u2019s Day scratcher that reveals a personalized card. <\/h2>\n\n\n\n<p><strong>What is <a href=\"https:\/\/scratch.mit.edu\/\" target=\"_blank\" rel=\"noreferrer noopener\">Scratch<\/a>?<\/strong> Scratch is a 100% free block-based programming language and it\u2019s one of our favorites. Developed by the minds at MIT, the Scratch platform lets you drag and drop code blocks to build fun games and apps. Scratch is a great way to introduce younger students to coding and how to think like a programmer.&nbsp;<\/p>\n\n\n\n<p><a href=\"https:\/\/scratch.mit.edu\/projects\/480067907\/\" target=\"_blank\" rel=\"noreferrer noopener\">Try our Valentine\u2019s Day Card Scratcher.<\/a> <strong>Scratch off a heart to reveal a very special Valentine\u2019s message.<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><a href=\"https:\/\/scratch.mit.edu\/projects\/480067907\/\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/TBPeR_i2ahea2LwAGeou1dqoDnlOawsKeS4bFlHS9kidfvnpxpIbDVdP7X1fq2-A-hyihfXtvT755XBc6LE0fZOZC19Zq8ta_60P-QgQdmqd1fvK-1V8-M66wYTfvIQXwAyidXv4\" alt=\"Valentine's Scratcher game \" style=\"width:400px;height:undefinedpx\"\/><\/a><\/figure><\/div>\n\n<div class=\"lazyblock-cw1-wide-post-container-Z27Khec 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\"><strong>Table of Contents<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><a href=\"#step1\">Step 1: Create a new Scratch project<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"#step2\">Step 2: Upload game board and card images<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"#positioning\">X, Y positioning in Scratch<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"#step3\">Step 3: Position hearts and scratcher sprite<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"#step4\">Step 4: Add a wand to scratch with<\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"#step5\">Step 5: <strong>Wave your wand<\/strong><\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"#step6\">Step 6: <strong>Create the scratched heart effect<\/strong><\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"#step7\">Step 7: <strong>Add scratcher logic<\/strong><\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"#step8\">Step 8: <strong>Reveal your Valentine\u2019s card<\/strong><\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"#step9\">Step 9: <strong>Show the game board when we restart<\/strong><\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"#step10\">Step 10: <strong>Add more scratcher hearts<\/strong><\/a><\/strong><\/li>\n\n\n\n<li><strong><a href=\"#step10\">Your Valentine\u2019s scratcher is complete!<\/a><\/strong><\/li>\n<\/ul>\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. <a href=\"https:\/\/drive.google.com\/drive\/folders\/12y7qehttOY-Ks-2pxBZitRfuYLFyVVpF?usp=sharing\">Download starter files<\/a><\/li>\n<\/ol>\n\n\n\n<div style=\"height:21px\" 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:21px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step1\"><strong>Step 1: Create a new 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\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/_Y63lWzj85g_sziIKF493HbBGRYzuBgTSHY4p-Xp7hKKnQ9Gtk3fsOsnwOY0rzJz7c7XPHEP5gckAF4ovGIi89O2dJqmhdvUtK1A1jIkhgCsIs9PseR214zviim0NG6l7M4NiW7K\" alt=\"Valentine's Scratch tutorial step 1\"\/><\/figure>\n\n\n\n<p><strong>Now, we can code your Valentine\u2019s scratcher!&nbsp;<\/strong><\/p>\n\n\n\n<p><strong><em>Hint:<\/em><\/strong><em> You can also <a rel=\"noreferrer noopener\" href=\"https:\/\/scratch.mit.edu\/projects\/480067907\/\" target=\"_blank\">remix this project<\/a> 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\" id=\"step2\"><strong>Step 2: Upload game board and card 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 starter files, we\u2019ve included images for your game board, Valentine\u2019s cards, and candy hearts.<\/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<\/li>\n\n\n\n<li>Add all of the background images by clicking \u201cUpload Backdrop\u201d<\/li>\n\n\n\n<li>In the Backdrops tab, select the \u201cvalentines_bg\u201d image<\/li>\n<\/ul>\n\n\n\n<p>These are the 6 different Valentine\u2019s cards that can show after our user scratches a heart.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/AXCy5U1Vqb4MXicG1JgbYrzodFLi_aO1WmSn2ZxILLNq_GrmffQO82k5WaDMXzputDeKXgKkzGcixPqUk1HDoM7SrQrN4tQvV7OP76hd6CfYL_YbiDfnGt-ZDNBTgZLnOakNp0tG\" alt=\"Valentine's Scratch tutorial step 2\"\/><\/figure>\n\n\n\n<p><em><strong>Hint: <\/strong>Instead of uploading backdrops, you can draw your own backdrops and add special messages here.&nbsp;<\/em><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-small-font-size\"><em><strong>Recommended:<\/strong> <a href=\"https:\/\/www.codewizardshq.com\/scratch-coding-classes\/\">Scratch Coding for Kids<\/a><\/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\" id=\"positioning\"><strong>X, Y positioning in Scratch<\/strong><\/h2>\n\n\n\n<p>Before we move on, let\u2019s talk about x and y coordinates.&nbsp;<\/p>\n\n\n\n<p>Scratch uses x, y coordinates to position sprites on the screen. You might have seen these in math class.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>x coordinate<\/strong> &#8211; a number of pixels along the horizontal axis of a display starting from the pixel (pixel 0) in the center of the screen.&nbsp;&nbsp;<\/li>\n\n\n\n<li><strong>y coordinate<\/strong> &#8211; a number of pixels along the vertical axis of a display starting from the pixel (pixel 0) in the center of the screen.&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>We\u2019ll use these (x, y) coordinates to position our hearts and scratchers.&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/5qovDbUfxEbiMNBINEXAjMZWpXTMbjEJJorCJrJSGYCpgWt1lXLZiQVSHV7K1QXbgKuzJVJWKGQCMgMRDnisGRXRITAAj52i92_8FnVv2XtH_1mT5SGpcd6U98SIL5t2zZwy1pN3\" alt=\"Valentine's Scratch tutorial xy position\"\/><\/figure><\/div>\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=\"step3\"><strong>Step 3: Position hearts and scratcher sprite<\/strong><\/h2>\n\n\n\n<p>In Scratch, your images are called sprites.&nbsp;<\/p>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on each candy heart sprite<\/li>\n\n\n\n<li>Add the \u201cWhen Green Flag Clicked\u201d block<\/li>\n\n\n\n<li>Change the x and y properties of each sprite using the \u201cGo To\u201d block<\/li>\n\n\n\n<li>Repeat these steps for each candy heart, in the different positions listed<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/Htp6stGCoHtonv2LxHMI2-J7KHFdM5npQxMpCBr6Jjqemrnhx7EfvvmBcgMFykQE2uvoxvzU9z8ee2VwvlkF9QMd_XPWkwqUE-blRGjf23w0yZvZHAae4UejmlvyuThZWiLWHaxJ\" alt=\"Valentine's Scratch tutorial step 3\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2021\/02\/heart_position.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"505\" src=\"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2021\/02\/heart_position-1024x505.jpg\" alt=\"Valentine's Scratch tutorial step 3.2\" class=\"wp-image-37696\" style=\"width:600px;height:undefinedpx\" srcset=\"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2021\/02\/heart_position-1024x505.jpg 1024w, https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2021\/02\/heart_position-300x148.jpg 300w, https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2021\/02\/heart_position-768x379.jpg 768w, https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2021\/02\/heart_position.jpg 1138w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on the scratcher heart and place it on top of the first candy heart using \u201cGo Forward 1 Layers\u201d block.&nbsp;<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/PyuIKNrRgTJjMWxUKlHn9Gv-WQw8bW33f1oNn686LUJ2wIccQXMtRV2jDqkGTIc56iSpI_c_yphAcm9_iudd-8iFRp0TWuiXTiYWkA27TZKgPj0f8UR0LTGXf76KRonLLukRyhKE\" alt=\"Valentine's Scratch tutorial step 3.3\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/zTI9t9_t0e0K-d_yr-lhL5mp7pKgt-FCYZGtzp7MsMJDPaWXlQwwB729918T2udbmmOF_FBodok-XGDtOhOHsqiKL-DuXz7tFK5HSgkCdpdkhuhpAUF__0n0Nd_41uAVXRgQ2Di8\" alt=\"Valentine's Scratch tutorial step 3.4\"\/><\/figure>\n\n\n\n<p><em><strong>Hint:<\/strong> You can put any heart in any position. Change the x, y positions of each heart to match your theme and background.<\/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\" id=\"step4\"><strong>Step 4: Add a wand to scratch with<\/strong><\/h2>\n\n\n\n<p>Our first scratcher is in position! We just need a way to scratch it. You can use or create any sprite as your scratcher, I\u2019m using a magical wand.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click \u201cChoose a Sprite\u201d<\/li>\n\n\n\n<li>Search for and select the wand<\/li>\n\n\n\n<li>Visit the \u201cCostumes\u201d tab to rotate the wand 45 degrees<\/li>\n\n\n\n<li>Position the center of the wand in the center of the artboard<\/li>\n\n\n\n<li>Go back to the code tab<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/QLhFtTihDra_-1YVx9u5bchds2A_6nj_KPJaL1zM4KlGYUXu8AUnKUpVR0E4xUroAJBm3NpgakbykU_EYMw70eJWyr_k9e0Y9eDgoeFApCTp6MUqbvs8lJEag7NpH4ZaR9msjCjd\" alt=\"Valentine's Scratch tutorial step 4\"\/><\/figure>\n\n\n\n<p><em>Hint: Draw your own sprite to use as a scratcher. A claw, an arrow, a coin, you choose!<\/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\" id=\"step5\"><strong>Step 5: Wave your wand<\/strong><\/h2>\n\n\n\n<p>Next, we want the wand to follow our mouse cursor.<\/p>\n\n\n\n<p>We can use a \u201cForever\u201d block, which acts like a loop to repeat code. Pairing it with the \u201cGo to mouse pointer\u201d and \u201cgo to front layer\u201d block means the wand will show up on the top and follow our mouse forever.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on your \u201cWand\u201d sprite<\/li>\n\n\n\n<li>Add a \u201cForever\u201d block<\/li>\n\n\n\n<li>Inside the \u201cForever\u201d block use \u201cGo to Front Layer\u201d and \u201cGo to Mouse-Pointer\u201d<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/J25v3a-Bkpcnpq8Xl8mYbAI9C4gLqYtYypmIOjRyNsdvZWESrWODtABTpRn-Im1O3_qB3fBEZVJjgG6K4S6_HBHQGrOOYIhSqT7F1nokWHxSLQy28jnj9iIXP6EYanM7G5rhIrya\" alt=\"Valentine's Scratch tutorial step 5\"\/><\/figure>\n\n\n\n<p>When you click the green flag, you should see your wand following your mouse.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/2YH7gpEeTvWWNrnLULtygH4eqLLfkzJZg2GPggq-C4hDhmuGbs3KgiO3bPFuqOigfOwjELGwHoqc6-R0Qvrt-u2pzBsJ8bKwxu8vvh5C2cBbpYRh63Uqq3AzFlkNTLiI7eZO1IPx\" alt=\"Valentine's Scratch tutorial step 5.2\"\/><\/figure>\n\n\n\n<p><em>Hint: You can also move your wand with your keyboard using an if-then the \u201cKey Pressed\u201d block.<\/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\" id=\"step6\"><strong>Step 6: Create the scratched heart effect<\/strong><\/h2>\n\n\n\n<p>Ready for scratching! Let\u2019s create the scratcher effect every time our wand touches the silver scratcher.&nbsp;<\/p>\n\n\n\n<p>Instead of erasing the actual sprite, we will create a series of costumes that look like our heart is being scratched off.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on your \u201cscratcher1\u201d sprite and go to the \u201cCostumes\u201d tab<\/li>\n\n\n\n<li>Right click to \u201cDuplicate\u201d the costume&nbsp;<\/li>\n\n\n\n<li>On the duplicate costume, select the eraser and partially erase the heart<\/li>\n\n\n\n<li>Again, duplicate this new costume and repeat erasing until the heart is gone<\/li>\n\n\n\n<li>Rename the final costume \u201clast\u201d<\/li>\n\n\n\n<li>Reselect the first costume and return to the code tab<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/MMYH2xcHGWwO3c2OCzK4PEzS0DLrKQnMsgNkbnz9njO7jx4DEbz_MtTpxwcmvWxfcdPd5lPYXQyU5ZdWH7UZ-e6Ji2PnTY2lZkBPjdclVoXnolgKHz55vRzLZDCUpEbEZM_1EcKC\" alt=\"Valentine's Scratch tutorial step 6\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/gM3qAgbMxdDjGSZIBopLeqNE7jI75H0oRHCw50XaUAHvmkZU4iopDnClO_yZP1ZNbllCjrJ_T53nLGt2gfv8EzCWbI0T2XQcbV2pMuN-Cr6ApNLblQBSnlW_fmwJTgLS-vHSlyni\" alt=\"Valentine's Scratch tutorial step 6.1\"\/><\/figure>\n\n\n\n<p><em><strong>Hint: <\/strong>The more costumes you have, the longer it will take to reveal your card.<\/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\" id=\"step7\"><strong>Step 7: Add scratcher logic<\/strong><\/h2>\n\n\n\n<p>We\u2019re going to reveal our candy hearts by changing costumes. When the candy heart is fully revealed, we will get to see our final Valentine\u2019s card.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on your \u201cscratcher1\u201d sprite&nbsp;<\/li>\n\n\n\n<li>Add a \u201cForever\u201d loop and inside of it an \u201cIf-Then\u201d block<\/li>\n\n\n\n<li>If the scratcher is touching the wand, wait and change to the next costume<\/li>\n<\/ul>\n\n\n\n<p>Now, when your wand hovers over the scratcher heart it should begin to disappear. But, it\u2019s not coming back?&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Add \u201cSwitch Costume To\u201d block to show the full heart costume when green flag is clicked.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/ksY9cYVW1uMo-RJKvNUJKRJnzFVKahdP8AB7PxHWnw-QJ7IJU90qNIxdHSxfCKCOeEuWDE-dA4ymeBC3IcE5wvTWy9_qJPAUHlXOh44PYu5J0FKSV5o-KANqOvqZgpEo-nLOlBJB\" alt=\"Valentine's Scratch tutorial step 7\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/P4a5tm_emrqz1w2ZwOgPNgfdayQXFyjE7XdGwBHpzlZJPnYQof7_xYABoyj33zjgmP-m31cNeZG5SrIiSiUtlPRaz1H19BL1i4VzbQHnaF-59zI7-hC6hjrqfckwyQClvc_o2kQM\" alt=\"Valentine's Scratch tutorial step 7.2\"\/><\/figure>\n\n\n\n<p><em><strong>Hint: <\/strong>Instead of changing the costume when the sprites touch, you could also do it when you click on the heart.<\/em><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-small-font-size\"><em><strong>Recommended: <\/strong><a href=\"https:\/\/www.codewizardshq.com\/how-to-make-a-game-on-scratch\/\">How to Make a Game on Scratch<\/a><\/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\" id=\"step8\"><strong>Step 8: Reveal your Valentine\u2019s card<\/strong><\/h2>\n\n\n\n<p>What should happen when we\u2019ve scratched off a heart? We finally get to reveal our sweet Valentine\u2019s message!&nbsp;<\/p>\n\n\n\n<p>Each scratcher heart should reveal a different card. We will use the \u201cbroadcast\u201d block to hide all the blocks and show our card.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>On our scratcher heart sprite, add another &#8220;If-Then&#8221; block (inside the first if-then block)<\/li>\n\n\n\n<li>If the costume name is \u201clast\u201d, wait for 1 second then broadcast a message to hide all sprites<\/li>\n\n\n\n<li>Then switch the backdrop to the card you want to show (card1)<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/OGeC1iaLU5v2mkfN8jXNcOXTjT0IXBymiycvbg8na6yR8R3N50RhT-ejg358coNJPHSX4-4m73OIl7UzEoy0v0dPynhdoUUovkJPpbYZM7-bUgr30gn58w50gHHRZf_opKKalMQZ\" alt=\"Valentine's Scratch tutorial step 8\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/e9n9UsFt0hKS9uRaGu8uGy8v52qdEuwDLgISJTKQ2JMXXC2We2R-R-McRbflEkUUwRkxtXNRWCHpzfKzGGI3Ih56lIFb33fNIdttdqbPgpEDWhA2FmF_9IcRXKwfGMrGP-SE526S\" alt=\"Valentine's Scratch tutorial step 8.2\"\/><\/figure>\n\n\n\n<p>Your card will show up, but all of your other sprites are still showing up. The other sprites need to receive the \u201cHide\u201d message and do something with it.&nbsp;&nbsp;<\/p>\n\n\n\n<p>For each of the other sprites, use the \u201cHide\u201d block when they receive the message and then stop the script.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/QrGcUTEKAO4M5etBGSyGl6sObsFlC16VTnQY4FbOhDMHQbjibJMi7jXzAgUz9RKzOaNm2lQOfCFAudHkZuknKoyjCfBjp2t5C2w5ED1YftSJVKLIY2DmbauKwtXRngn-7_dY-tjJ\" alt=\"Valentine's Scratch tutorial step 8.3\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/r34PkeCrEuri2h0_I-a7-eGvhp8lZTXMHmYoKH0kJ59GuZ_BkK0QcoXQMUTICR5NRku_YrRa_KCaix195nl5DusJpEIWh9mHhrF1YRbpvexUicTvFjKGUpHhbshZzCGMzoP56o5I\" alt=\"Valentine's Scratch tutorial step 8.4\"\/><\/figure>\n\n\n\n<p><em><strong>Hint: <\/strong>You can easily copy blocks of code from one sprite to another. Just grab the code block and hover over the sprite you want to copy it to.<\/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\" id=\"step9\"><strong>Step 9: Show the game board when we restart<\/strong><\/h2>\n\n\n\n<p>When we click the green flag, our game restarts. We\u2019ll want to show our game board and hearts again.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click on the backdrops and add &#8220;When Green Flag clicked\u201d block<\/li>\n\n\n\n<li>Use the \u201cSwitch Backdrop To\u201d block to switch back to your game board image<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/5YbZbrskNBhj3SgT-q41GnamQulLZ-CcwkocTsHOLvdRM30IJ2vdKEUQ1Y8P8RtpI9kejVpiWkPkJ2FaT34zCzQafTcXdM0Y9LfyFyDKXn3mSjVXSwNQPsqkiLgSlotebaKnt45v\" alt=\"Valentine's Scratch tutorial step 9\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/NEVpyY-jZfKJKHPXwuEKHEUoi8MMMakWAkSES2uPcURixqfKgW0tZaCk5BES4xuQcbeY8VvMrSzy7tWJfLrOB0cXPFFBzPHArmagY-W5ouHNcoUBZ1lpP2a6iVZ2om_QVhTFUURD\" alt=\"Valentine's Scratch tutorial step 9.2\"\/><\/figure>\n\n\n\n<p><em><strong>Hint: <\/strong>You don\u2019t have to stick to just one game board. Add several and switch them when the green flag is clicked.<\/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\" id=\"step10\"><strong>Step 10: Add more scratcher hearts<\/strong><\/h2>\n\n\n\n<p>You have one scratcher working!&nbsp;<\/p>\n\n\n\n<p>You can easily duplicate and update scratcher1 to cover the remaining hearts. Each new scratcher heart should reveal a different card.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Right-click to &#8220;Duplicate&#8221; scratcher1<\/li>\n\n\n\n<li>Change the go to x and y position (0, -15)<\/li>\n\n\n\n<li>Change the backdrop revealed to card2<\/li>\n\n\n\n<li>Repeat to cover all candy hearts<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/uFPc6gxh3kQyCK40iP6APC3a8u5cdHGLDGJviKnSNMkDCE3TTRKEzZurBW6jF9sBChtnJT-KhCytK0VdOozZPgiE79-H2zIQXONrfBHUwBxBnOLRbD4D4vYrFnm03VlOIRBrA1-t\" alt=\"Valentine's Scratch tutorial step 10\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/zXRZlYzKHYUzBUCyOCMfI6CGinvarTDlNtNnF36M1tpys3cuWcacw-qfcZrm9COs4HCcJcfFHFHM22271yKJi0_2LIkXsgNJeCCCUtj90BQZu1zBE3icAYQ7mLdNi7U4iQM_0fxh\" alt=\"Valentine's Scratch tutorial step 10.2\"\/><\/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\" id=\"complete\"><strong>Your Valentine\u2019s scratcher is complete!<\/strong><\/h2>\n\n\n\n<p>Put it all together and give it a try. The most important step is to send it to a person you love this Valentine\u2019s Day.&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/TBPeR_i2ahea2LwAGeou1dqoDnlOawsKeS4bFlHS9kidfvnpxpIbDVdP7X1fq2-A-hyihfXtvT755XBc6LE0fZOZC19Zq8ta_60P-QgQdmqd1fvK-1V8-M66wYTfvIQXwAyidXv4\" alt=\"Complete Valentine's Scratcher\" style=\"width:400px;height:undefinedpx\"\/><\/figure><\/div>\n\n\n<p><a href=\"https:\/\/scratch.mit.edu\/projects\/480067907\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/scratch.mit.edu\/projects\/480067907\/<\/a><\/p>\n\n\n\n<p><strong>You can <a rel=\"noreferrer noopener\" href=\"https:\/\/scratch.mit.edu\/projects\/480067907\/\" target=\"_blank\">\u201csee inside\u201d my project<\/a> to get a peek inside the full Scratch code.<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Free Scratch Tutorials<\/h2>\n\n\n<div class=\"secondary-blog-posts\"><div class=\"row\"><div class=\"col col-12 col-md-6\"><a href=\"https:\/\/www.codewizardshq.com\/how-to-make-flappy-bird-on-scratch\/\"><span class=\"image\" style=\"background-image:url('https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2023\/04\/01-Flappy-Bird-on-Scratch-1600x395-1.jpg');\"><span class=\"label\" style=\"background:rgba(182,62,68,.8)\">Learn Coding<\/span><\/span><div class=\"text\"><h3 class=\"title\"><span>How to Make Flappy Bird on Scratch<\/span><\/h3><span class=\"date\">Updated on June 2, 2025<\/span><\/div><\/a><\/div><div class=\"col col-12 col-md-6\"><a href=\"https:\/\/www.codewizardshq.com\/scratch-tutorial-for-kids-flying-space-cat\/\"><span class=\"image\" style=\"background-image:url('https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2022\/11\/flying-space-cat-page-banner.png');\"><span class=\"label\" style=\"background:rgba(182,62,68,.8)\">Learn Coding<\/span><\/span><div class=\"text\"><h3 class=\"title\"><span>Scratch Tutorial For Kids: Flying Space Cat<\/span><\/h3><span class=\"date\">Updated on April 22, 2025<\/span><\/div><\/a><\/div><div class=\"col col-12 col-md-6\"><a href=\"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-valentines-card-2021\/\"><span class=\"image\" style=\"background-image:url('https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2021\/02\/Valentine-Scratcher-Banner.jpg');\"><span class=\"label\" style=\"background:rgba(182,62,68,.8)\">Learn Coding<\/span><\/span><div class=\"text\"><h3 class=\"title\"><span>Scratch Coding for Kids: Valentine\u2019s Day Card Scratcher Activity<\/span><\/h3><span class=\"date\">Updated on September 1, 2023<\/span><\/div><\/a><\/div><div class=\"col col-12 col-md-6\"><a href=\"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-holiday-2020\/\"><span class=\"image\" style=\"background-image:url('https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2020\/12\/christmas-advent-scratch-coding-2020-banner.jpg');\"><span class=\"label\" style=\"background:rgba(182,62,68,.8)\">Learn Coding<\/span><\/span><div class=\"text\"><h3 class=\"title\"><span>Scratch Coding for Kids: Holidays Advent Calendar<\/span><\/h3><span class=\"date\">Updated on November 14, 2024<\/span><\/div><\/a><\/div><div class=\"col col-12 col-md-6\"><a href=\"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-halloween-2020\/\"><span class=\"image\" style=\"background-image:url('https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2020\/10\/Halloween-scratch-activity-page-banner.png');\"><span class=\"label\" style=\"background:rgba(182,62,68,.8)\">Learn Coding<\/span><\/span><div class=\"text\"><h3 class=\"title\"><span>Scratch Coding for Kids: Halloween Candy Collector Game<\/span><\/h3><span class=\"date\">Updated on August 26, 2025<\/span><\/div><\/a><\/div><\/div><\/div>\n\n\n\n<p class=\"has-small-font-size\"><em><strong>Recommended:<\/strong>&nbsp;<a href=\"https:\/\/www.codewizardshq.com\/25-best-scratch-games\/\">Scratch Games<\/a><\/em><\/p>\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>Learn more about Scratch in our <a href=\"https:\/\/www.codewizardshq.com\/coding-classes-elementary-school-students\/\" target=\"_blank\" rel=\"noreferrer noopener\">Elementary School Coding Program<\/a>. It\u2019s so much fun and the possibilities to be creative are endless!&nbsp;<\/p>\n\n\n\n<p><strong>Did you remix this project?<\/strong> Share a picture or link with us on Facebook or Twitter with #NowYouCode to be featured.&nbsp;<\/p>\n\n\n\n<p>Hoping you have a sweet Valentine\u2019s Day!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Valentine\u2019s Day is a time to bring smiles to that special loved one. This year, you can set hearts aflutter with a handmade, hand-coded card.&nbsp;You will save the trees and spread the love. Follow this easy Scratch coding tutorial to build a Valentine\u2019s Day scratcher that reveals a personalized card. What is Scratch? Scratch is [&hellip;]<\/p>\n","protected":false},"author":24,"featured_media":37702,"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":[10744,10745,10743,10808,10815,10740,10814],"class_list":["post-37682","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: Valentine\u2019s Day Card Scratcher Activity<\/title>\n<meta name=\"description\" content=\"Free Valentine&#039;s scratch coding activity! Easy Scratch tutorial for kids. How to code a Valentine&#039;s card scratcher in the Scratch platform. Fun 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-valentines-card-2021\/\" \/>\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: Valentine\u2019s Day Card Scratcher Activity\" \/>\n<meta property=\"og:description\" content=\"Free Valentine&#039;s scratch coding activity! Easy Scratch tutorial for kids. How to code a Valentine&#039;s card scratcher in the Scratch platform. Fun for ages 8+.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-valentines-card-2021\/\" \/>\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=\"2021-02-03T03:03:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-02T03:35:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2021\/02\/Valentine-Scratcher-Social.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=\"10 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-valentines-card-2021\/#article\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-valentines-card-2021\/\"\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: Valentine\u2019s Day Card Scratcher Activity\",\n\t            \"datePublished\": \"2021-02-03T03:03:09+00:00\",\n\t            \"dateModified\": \"2023-09-02T03:35:16+00:00\",\n\t            \"mainEntityOfPage\": {\n\t                \"@id\": \"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-valentines-card-2021\/\"\n\t            },\n\t            \"wordCount\": 1558,\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-valentines-card-2021\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2021\/02\/Valentine-Scratcher-Banner.jpg\",\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-valentines-card-2021\/\",\n\t            \"url\": \"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-valentines-card-2021\/\",\n\t            \"name\": \"Free Scratch Coding for Kids: Valentine\u2019s Day Card Scratcher Activity\",\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-valentines-card-2021\/#primaryimage\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-valentines-card-2021\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2021\/02\/Valentine-Scratcher-Banner.jpg\",\n\t            \"datePublished\": \"2021-02-03T03:03:09+00:00\",\n\t            \"dateModified\": \"2023-09-02T03:35:16+00:00\",\n\t            \"description\": \"Free Valentine's scratch coding activity! Easy Scratch tutorial for kids. How to code a Valentine's card scratcher in the Scratch platform. Fun for ages 8+.\",\n\t            \"breadcrumb\": {\n\t                \"@id\": \"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-valentines-card-2021\/#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-valentines-card-2021\/\"\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-valentines-card-2021\/#primaryimage\",\n\t            \"url\": \"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2021\/02\/Valentine-Scratcher-Banner.jpg\",\n\t            \"contentUrl\": \"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2021\/02\/Valentine-Scratcher-Banner.jpg\",\n\t            \"width\": 1600,\n\t            \"height\": 395,\n\t            \"caption\": \"Valentine Scratcher Banner\"\n\t        },\n\t        {\n\t            \"@type\": \"BreadcrumbList\",\n\t            \"@id\": \"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-valentines-card-2021\/#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: Valentine\u2019s Day Card Scratcher Activity\"\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: Valentine\u2019s Day Card Scratcher Activity","description":"Free Valentine's scratch coding activity! Easy Scratch tutorial for kids. How to code a Valentine's card scratcher in the Scratch platform. Fun 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-valentines-card-2021\/","og_locale":"en_US","og_type":"article","og_title":"Scratch Coding for Kids: Valentine\u2019s Day Card Scratcher Activity","og_description":"Free Valentine's scratch coding activity! Easy Scratch tutorial for kids. How to code a Valentine's card scratcher in the Scratch platform. Fun for ages 8+.","og_url":"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-valentines-card-2021\/","og_site_name":"CodeWizardsHQ","article_publisher":"https:\/\/www.facebook.com\/codewizardshq\/","article_published_time":"2021-02-03T03:03:09+00:00","article_modified_time":"2023-09-02T03:35:16+00:00","og_image":[{"width":620,"height":323,"url":"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2021\/02\/Valentine-Scratcher-Social.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":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-valentines-card-2021\/#article","isPartOf":{"@id":"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-valentines-card-2021\/"},"author":{"name":"Margaret Choi","@id":"https:\/\/www.codewizardshq.com\/#\/schema\/person\/0d1794273fcc4d0b634d50375e00e1ca"},"headline":"Scratch Coding for Kids: Valentine\u2019s Day Card Scratcher Activity","datePublished":"2021-02-03T03:03:09+00:00","dateModified":"2023-09-02T03:35:16+00:00","mainEntityOfPage":{"@id":"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-valentines-card-2021\/"},"wordCount":1558,"publisher":{"@id":"https:\/\/www.codewizardshq.com\/#organization"},"image":{"@id":"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-valentines-card-2021\/#primaryimage"},"thumbnailUrl":"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2021\/02\/Valentine-Scratcher-Banner.jpg","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-valentines-card-2021\/","url":"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-valentines-card-2021\/","name":"Free Scratch Coding for Kids: Valentine\u2019s Day Card Scratcher Activity","isPartOf":{"@id":"https:\/\/www.codewizardshq.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-valentines-card-2021\/#primaryimage"},"image":{"@id":"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-valentines-card-2021\/#primaryimage"},"thumbnailUrl":"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2021\/02\/Valentine-Scratcher-Banner.jpg","datePublished":"2021-02-03T03:03:09+00:00","dateModified":"2023-09-02T03:35:16+00:00","description":"Free Valentine's scratch coding activity! Easy Scratch tutorial for kids. How to code a Valentine's card scratcher in the Scratch platform. Fun for ages 8+.","breadcrumb":{"@id":"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-valentines-card-2021\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-valentines-card-2021\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-valentines-card-2021\/#primaryimage","url":"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2021\/02\/Valentine-Scratcher-Banner.jpg","contentUrl":"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2021\/02\/Valentine-Scratcher-Banner.jpg","width":1600,"height":395,"caption":"Valentine Scratcher Banner"},{"@type":"BreadcrumbList","@id":"https:\/\/www.codewizardshq.com\/scratch-coding-for-kids-valentines-card-2021\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.codewizardshq.com\/"},{"@type":"ListItem","position":2,"name":"Scratch Coding for Kids: Valentine\u2019s Day Card Scratcher Activity"}]},{"@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\/2021\/02\/Valentine-Scratcher-Banner-600x395.jpg","featured_image_src_square":"https:\/\/www.codewizardshq.com\/wp-content\/uploads\/2021\/02\/Valentine-Scratcher-Banner-600x395.jpg","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\/37682","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=37682"}],"version-history":[{"count":2,"href":"https:\/\/www.codewizardshq.com\/wp-json\/wp\/v2\/posts\/37682\/revisions"}],"predecessor-version":[{"id":71675,"href":"https:\/\/www.codewizardshq.com\/wp-json\/wp\/v2\/posts\/37682\/revisions\/71675"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.codewizardshq.com\/wp-json\/wp\/v2\/media\/37702"}],"wp:attachment":[{"href":"https:\/\/www.codewizardshq.com\/wp-json\/wp\/v2\/media?parent=37682"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codewizardshq.com\/wp-json\/wp\/v2\/categories?post=37682"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codewizardshq.com\/wp-json\/wp\/v2\/tags?post=37682"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}