Make it into a function and have the function return true Boolean if it is true and return false on Completed otherwise.
Note that using GetAllActorsOfClass on Event Tick in a Blueprint is probably one of the worst things you can do to slow down the performance. Whatever it is you are checking for most likely don’t need to happen on tick even if you think it does and if the results don’t change very often you should store them in a variable instead of getting them all the time.
This one is a real brainbuster for me, but I need to figure out a way to determine if just one of the desired variable from the GetAllActorsOfClass node returns true, then set the boolean value for the entire loop to be true. Is there some magic node to do this BS? Thanks.