Pick up text 2d game

When im in range to pickup an item the text “pick up” is non stable like its going up and down very fast

I think it’s because you’re setting it on tick, and the convert mouse location can’t give a reliable result.

Did you consider using a widget inside the pickup?

( it shows a progress bar above the player, but you can easily make it your text for the pickup ).