Ending a Polygon after a certain distance

Inspired by this Post i made it work.

The Code who works is

if polygon.pos[0] <= (x+120):
continueRoutine = True
else:
continueRoutine = False

in case anyone is facing the same problem

1 Like