top of page
Search

🌈💖Rainbow Heart Trail

In this Scratch project, we will create a heart sprite that moves and leaves behind a trail of colorful hearts by cloning itself. Each clone will appear briefly and then disappear, creating a magical and animated heart trail.


This activity helps you learn:

¡       How to create clones

¡       Use color effects

¡       Manage timing and deletion of clones

Choose the Heart Sprite

  • Click “Choose a Sprite”

  • Search for and select “Heart”


✅Step 1. Add Code to the Heart Sprite


when green flag clicked

hide

go to [mouse-pointer v]

forever

    create clone of [myself v]

    wait 0.1 seconds

end


✅Step 2. What the Clones Will Do


Add this code to the same heart sprite to define what each clone does:


when I start as a clone

show

set color effect to (pick random 0 to 200)

go to [mouse-pointer v]

repeat 10

    change y by 10

    change color effect by 10

    wait 0.05 seconds

end

delete this clone


 

 
 
 

Comments


Logicbox Innovation Pvt Ltd

Kariyad Airport Road,

Near Cochin International Airport, Nedumbassery, Ernakulam,

Kerala, India - 683589

support@logicbox.ac

+91 7559999090

©2025 by Logicbox. 

  • YouTube
  • Instagram
  • Facebook
  • LinkedIn
bottom of page