Does the animation event only run functions from scripts that are attached to the Gameobject?

I did some research, but couldn’t find anything about it. Just a curiosity, if it is possible for the animation event to call functions from other scripts/game objects without it being attracted to the animated game object. If so can I use a manager to reference it and how.

Thanks
Just a self-taught programmer

As far as I know you can only use functions from scripts attached to the GameObject. I would just create a simple script to attach to the GameObject which will have a function to call your manager class.