How can I pull variables from several blueprints and add them?

I’m trying to create a level that will simulate octets and binary numbering. To that end, I’ve created 8 objects with lights that can be switched on and off. I’d like to create a blueprint that grabs the integer variables from each of the objects and adds them, but I can’t seem to reference them. How can I pull variables from multiple blueprints and add them?

This is my scripting for one of the actors:

You can try to use “get all actors of class” node ( it costs performance if used frequently ). Or you can create 8 variables in your main blueprint and make them “editable”, than you can pick them from scene in details. Also u can spawn them inside your main blueprint and save them there.

Thank you. I’ll try that.