
Follow our easy coding instructions to build your own electronic circuit in Scratch to switch on to light up the bulb!
If you already have a Scratch account, click ‘Sign in’ and enter your login details. Otherwise click ‘Join Scratch’ and create your free Scratch account.

The switch will start in the 'off' position.



The broadcast blocks let us send messages to other sprites in our project.

The battery sprite will now make copies of the 'Electricity' sprite when the switch is on.

The 'Electricity' sprite already has code that tells it where to move.



The light bulb will be off to begin with.



If you enjoyed this coding activity be sure to sign up for our online coding classes for kids. Our coding classes are a lot of fun, but they’re also really effective at teaching coding techniques and challenging students to develop their skills. You’ll learn about loops, variables and functions - and everything in between - and you’ll build your own games and animations with a small group of kids of the same age and experience level as you.
Sign up for one of our free coding lessons