how to make a gameobject be positioned according to screen (on edge of screen)?

I have a Game object that I have positioned on the edge off my game screen but when I put the game on my phone it changes its position. is there another way to keep the position of a game object to match screen size?

Unity: Script Reference – Camera.ScreenToWorldPoint

Here’a another question that is very similar: