I want a clean way of getting specific index members in an array during a loop. I want to provide an array of values and have the for loop retrieve the indexes specified by the array. I don't want to write a massive if statement with a bunch of ORs. Basically like this:
for i in (1,2,3,5,7,9, 18, 19) in get_children():
for i in get_children():
if i == (1,2,3,5,7,9, 18, 19):
How can I do this?