about transform find

Can Someone Enlighten me about this?

Transform child = transform.Find(“blabla”);

child.renderer.enabled = true;

but child is a GameObject right so why Transform?

Transform.Find searches the hierarchy defined by transform relationships beneath another transform. GameObject.Find finds any game object based on name. It’s Transform because Transform.parent defines the relationship between the objects.

thanks for clarification cause im kinda mix those two :slight_smile: