Playing Flipbook Animations

I’m working with 2D flipbook animations and was wondering if there was a more elegant method to execute animations. Currently I am playing the animation, creating a delay for the duration of the animation, then setting the animation back to default.

This is basically how I’m currently doing it, but with flipbook animations.