I have a 10X10 grid of parts, labeled with letters and numbers, like battleship or chess. What I am trying to do is take a table like this
local middle = {'e5','e6','f5','f6'}
local square = {'d4','d5','d6','d7','e4','e7','f4','f7','g4','g5','g6','g7'}
and then make all the parts that are not in the table disappear. I am not sure how to check if the parts name is in the table. Thank you for reading!

1 comment
Thank you! It seems to work great!