CodeLab Academy 📞 9936 6696
← List Scratch · Level 9: My blocks and messages Quiz · 45 points ← #840 #842 →

#841. Sending a message

When the green flag is clicked, what number will the cat say? (`broadcast and wait` waits until the receiver is done.)
when green flag clicked
set [x v] to (20)
broadcast [double v] and wait
change [x v] by (16)
say (x)

when I receive [double v]
set [x v] to ((x) * (2))

💡 Not sure? Build it in Scratch and try it out.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!