Hi!

Is your path a circle?

And
What happens if the result is > 50 in
if (result < 50)


Hope this helps!
Ottawa laugh

Ver 7.86.2 Pro and Lite-C