How to action object that have specific value?

as you can see from my event screenshot, I need to get 2 variables and store them on the scene variable and create conditions for the object that has the same variable value on them. which is taking so many lines instead of only 1 or 2 lines.

is there any action event, that can handle it?
the action event that changes the object value based on the variable that I want

There’s not much left to simplify those events. The best I can think of is this :

thanks, I did that before but it didn’t work. I realized that I misplaced it below after the glass was deleted.

Is glassPos1 a member of glasslookgrup?

yes, I used your method and it worked fine.
thank you