How to play a destroy animation? Brick Breaker/Arkanoid.

I seem to have a fundamental misunderstanding of how animation works. Specifically, differentiating between the animation and animator.

Currently, my animations play automatically on play.

Do I need a separate Destroy Script or can I do this in the BrickScript? How many states do I need to transition between? I have 2 (broken/breaking)sprites + the initial brick sprite.

I understand I will likely need these parts:

public Animator anim;

anim = GetComponent

anim.SetBool(“destroyBrick”, true);

anim.Play(“destroyBrick)”;

and then call a gameobject destroy function?

Uncheck play automatically in the inspector under the Animation panel.