Download

Question About Arrays?

Hi guys

im having a little problem with my name array this is my current set up:

the problem is that if I have two names that are the same in my array the find will only give me the index of the first one but not the second, is there a way to get all of the index`s of the names that match the find node name?

any help would be amazing, if any one needs more details just say thanks guys :slight_smile:

Hello,
if you use a loop, then you can compare your array element. If element = the one you want (a variable set before) then true, else false. (if it doesnโ€™t work with the element, compare the class)

Ill give it a go thanks :slight_smile: