Call Animation By Name

If there isn't already a way to call an animation by name, maybe it would be a nice feature addition.
Something like:
if ("Moon","Full Moon Animation",FORWARD) //Actor Name: Moon. Animation Name: Full Moon Animation
{
ChangeAnimation("Event Actor", "Half Moon Animation", FORWARD);
}
If I can do this and don't know it; how? TIA
Something like:
if ("Moon","Full Moon Animation",FORWARD) //Actor Name: Moon. Animation Name: Full Moon Animation
{
ChangeAnimation("Event Actor", "Half Moon Animation", FORWARD);
}

If I can do this and don't know it; how? TIA