It would take subtraction to see how far away it is from an object, division to get a percentage, then multiplication to get it to 1-100 so the alpha can work, but because there are no decimals on flowlab (for the most part) it couldn't work- so it's impossible.

## Comments

It would take subtraction to see how far away it is from an object, division to get a percentage, then multiplication to get it to 1-100 so the alpha can work, but because there are no decimals on flowlab (for the most part) it couldn't work- so it's impossible.

i think I got something but its only for x axis. I dont know how to do the radial distance.

https://flowlab.io/game/view/727413

edit: i think the function block is broken. its supposed to be on abs value and not sine