A major portion of successful design is to create efficient and creative ways to pass information between modules. Global variables are a good way to make information accessible.
My original demo was just a quickie to show how to pass one of the same type of clicked objects into a method.
This one took a few more minutes, but accomplishes the same using lists of similar objects.
There's always a way, but you have to plan it first