To achieve it, you'll have to store every object in a list and then loop over it to treat each.

Take a look at an example below!