Animation loop in Python

I usually expire the component itself iteratively (i.e. similar to the Timer component, but within the code itself). Here’s a basic example with a counter, but the same method applies for geometry/animation stuff (i.e. replace the count persistent/static mutable variable with your dynamic system/geometry):

Edit: I’m not actually sure if this all works with the new CPython script editor, but might be worth a go.