get a height of a gameobject

Hey, i need to get the height of the game object
I don’t need the game objects scale.
also it doesn’t have a renderer or a mesh its just a group of objects

Try using the transform.x of the object. Make a gameobject variable, set it to the one you want, then do-

gameobject_variable_name.transform.x

and do whatever you want with it.