How to create this effect

I dont know how to track the screen recording to my eye, so that it holds the position