i have these codes :
“for (int32 j = 0; j < i; j++)
{
float Distance = FVector::Dist(NewVector, Vectors[j]);
if (Distance < MinDistance || Distance > MaxDistance)
{
IsValidVector = false;
break;
}
// Check Z distance
if (FMath::Abs(NewVector.Z - Vectors[j].Z) > ZDistance)
{
IsValidVector = false;
break;
}
}”
And i wanna exchange this to UE blueprint, but i don’t known how to do with “Break” ?
Can someone help me please ?
I think it’ll be something like this :
but how to complete it ?
Someone help me please, thanks for reading, folks <3