Again you are wrong? My question is, Why do you use Add items to the list?
Based on your blocks it sems you want to set visibility for single image component..
do this
In the above event set the global SpentUpgrades to Books Visible
and store this variable into tinydb (actually directly you can store into tinydb, No need of this variable)
In screen init
dont use Set image block instead directly use the set name of the image component visible to call tinydb value
I am going to have several upgrades so I want a running list of all the images. What you have said will work but I am trying to save myself time and effort later since I will have a ton of them.
I'm trying to guess your problem domain from the nouns you use:
cookies
upgrades
books
Are you trying to code an RPG (Role Playing Game) where the player can customize his avatar by purchasing upgrades with cookies and accumulating skills through acquisition of books?
They may be asleep but I wonder what is in their TinyDB. I have component names which isn't working for obvious reasons. Perhaps I could have an upgrade id system?