Add object after finished animation

Hi!

I’m currently testing and learning some python features for the first time, however not so successful as of yet… :wink:

What I’d like to achieve:

  • I have an animation that loops (“cube_object” goes to point x, spins - repeat).
  • Now everytime the “spin” animation is finished (or the “cube_object” reaches a certain location…?), I’d like to spawn an object on a random position.
  • If there are 10 objects spawned stop the animation and change camera angle to another scene.

Help would be highly appreciated.
Thanks,
Sputi