Items Remaining in Counter

I am making a scavenger hunt where you find 5 hearts in each scene. Here is the code I have:


Essentially, in each scene, there will be 5 hearts. You click on a heart and the heart will disappear and a text counter will go down. Using the code in the image, I cannot click on any of the hearts. Not sure what the reason is tho.

Hi @AbagailO,

Your code doesn’t go further than the forever loop, because it constantly executes code inside this block. You can:

  1. move the forever block to the end of your program
  2. move it to another tab
  3. Add run parallel CoBlock and put forever block to the first part of that CoBlock
  4. (recommended option) change the text only when you actually need it (when the heartlist variable changes)

Hope that helps