This is a good start, and I’ve adjusted it to do a bit more what I described (expression below), but I’m not sure how to adjust this so that I can affect the rate of the shrinking. Right now it goes down 1% for every pixel it moves. I’d like to it shrink less so that I can move it further away without it disappearing.
x = transform.position[0];
if (x >960) [x-960,x-960]-[transform.scale[0],transform.scale[1]]
else [transform.scale[0],transform.scale[1]]