How to find the biggest number in the variable with many instances in anoher actor

up to the fourth step do you mean like this?(btw speedArray is the int array i made


)