this is for a turret, I wanted to break the loop when the first actor got in range after which the turret would rotate round and shoot them however at the minute the turret shoots at the target even though it is not in range.
how do i break the for loop when it has found the first target in range?