How do you move Animations inside the Animator Controller hierarchy?

How do you move Animations inside an Animator Controller hierarchy? I see that, by default, there are animations inside a Button Animator Controller, but I can’t move inside my own ones.

alt text

I tried to look for an answer, but I can’t find one.

Found it when manually creating an AnimationController in an Editor Script (like this Unity - Scripting API: AnimatorController).

The answer is to use the AssetDatabase.AddObjectToAsset() function.
First param is the AnimationClip you want to add, the second is the AnimationController you want to add it to.

I would certainly up-vote another answer that shows how to do this in the Editor without code…