make Guitext follow cursor

what I want to do is simple enough I think but I don't know anyway I can do it. my cursor is unlocked so it can move around the screen in my game, I want to have a gui text follow the cursor, or rather, always be over the cursor. how can I do that?

Use ScreenToViewportPoint:

function Update () {
    transform.position = camera.main.ScreenToViewportPoint(Input.mousePosition);