How do you find a specific item in a array?

please help me im desprate for the answer

Just use array[array.indexOf(item)] or if you are using Python use array[array.index(item)] I think…

1 Like

Use hero.findByType(type)

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.