Animation mistake, how to delete in code?

A post was merged into an existing topic: Animation, delete in code?