Increasing opacity of picture relative to the player?

Hello, sorry if this is a very stupid question, and or there is an obvious solution to this that I happened to miss.

Here's what I'm having trouble with - transparency based on distance (relative to the player's character's position.)

Say my map is based off 3 rows

XXX (row 1)

YYY (row 2)

ZZZ (row 3)

The player is anymore on row 1, thus - the picture is 100% visible. Now the player moves, and is on row 2 - the same picture now smoothly transitions to 50% transparency. Lastly, the player moves to row 3 and the picture transitions to being completely transparent.

Basically the transparency of the picture is relevant to the location of the player. 

If anyone knows how I can create this effect in the event editor that would be really helpful, or better yet if there is a script that allows this to happen that would make this thing a whole lot easier ^^;

Does that make sense? I'm hoping it does. 

I've solved this problem with a little extra searching ^^;; 

Original thread: https://forums.rpgmakerweb.com/threads/increasing-opacity-of-picture-relative-to-the-player.41776/