Convert UI element to world position

Basically I’ve been trying to convert an images position in the UI to a position in the world, I’ve tried Veiwport to worldPoint and ScreenPoint to WorldPoint.

But Veiwport to worldPoint puts them in all the same position, while screenpoint to worldpoint puts them miles apart.

Does anyone know a way to do this?

Click on my name, and look in my questions, I’m pretty sure you had my problem. See if that helps