Displaying after moust event

Does anyone know how to make something like:

“if the mouse is touching this then display something in a text box”

Thanks