opacity

how would i make some thing more transparent the farther you get

I don’t know what do you mean with “the farther you get” (distance, time?), but you can modify a sprite opacity through the action “Sprite >> Visibility >> Change object’s pacity”.
The opacity is a number between 0 (transparent) and 255 (opaque) :slight_smile:

For example, to make an object transparent (fade-out) throug time:

Do - TimeDelta() to the opacity of SpriteObject

And to make an object transparent when moving between X=0 and X=100:

Do = 255 - SpriteObject.X()*2.55

At X = 0: 255 - 0*2.55 = 255 At X = 100: 255 - 100*2.55 = 0

1 Like

i mean distance from another position. the farther the more trans

oh i thinki got it

no i didnt

ok i got it

You can edit your previous posts instead doing it (double… eh… multi post) :wink: