Restore game objects after animation

In my game I have an object that, when hit by the player, has to do an animation that shrink it and then disable it (I used the animator controller and then generated my own animation). Since the game is provided with an UNDO function, I’d like to know if there is a way to restore an object to its original mesh and dimensions (i.e. before the animation). I’m a total beginner with animations so be patient! :slight_smile: Thank you!

Store the size and position in variables right before the animation is called. Then access those variables when the user clicks the undo button.