Force dynamo to run the script on each element in the list

Is there any method to make dynamo run scripts on each item listed in the list. For example I want to get the room bounding box then use it to get all element inside of that bounding box. But my procedure only allow me to select 1 room each time (the input is “element” not “elements”). Any help will be appreciated.

Change your input to Elements…

@Konrad_K_Sobon Just wondering whether this should work for @mrkevinht91 or not?

Brilliant!

Sorry for my poor explanation. To be more specific, this is the dynamo node I downloaded from another member. The node run perfectly but instead of selecting one element, I want to run it on all element from 1 category (for example room). But unfortunately, the python script doesn’t allow to input more than 1 element.