moving an object at the edge of plane?

Hello friends,
I want to implement functionality like one tool tip text is present above my plane, and if I scale that plane that tool tip text should move with the proportion of the plane scale and it should intact with the edge of the plane. It should not go away from it.
How can I make this possible? I tried to find the height width of plane but not working :frowning:
Please help…

I think what you want is to make a script that – in an update function of some sort – always assigns the text’s position to be the plane’s renderer.bounds.max.y value, or something like that. Is that what you want?