Accessing parented game object's animator through script

In my hierarchy I have an “Object2”, which is parented by “Object1”. “Object 1” has a script attached, while “Object2” has an animator component. Are there any ways to access “Object2’s” animator from a script, attached to it’s parent “Object1”? Or must I make another script and bind it specifically to “Object2”? Thanks.

You can have access to the child component using GetComponentInChildren

anim = GetComponentInChildren<Animator> ();