Skip to main content
S_ A
Inspiring
July 13, 2024
Answered

Linear expression is not working

  • July 13, 2024
  • 1 reply
  • 426 views

Hi,

 

I am experimenting lInear expression. but not getting expected result. What I imagined is when the ball will touch the edge of the comp it will  disapper, because in my expression I wrote that, but the ball remain transparent, I can see it, it supposed to be gone (I mean opacity zero means its not visible). I must have done someting wrong. guide me please. 😥

 

 

 

 

 

This topic has been closed for replies.
Correct answer Dan Ebberts

Is "target" the layer in the center? If so, the last line of your expression probably needs to be more like this:

linear(b,0,540,100,0)

1 reply

Dan Ebberts
Community Expert
Dan EbbertsCommunity ExpertCorrect answer
Community Expert
July 14, 2024

Is "target" the layer in the center? If so, the last line of your expression probably needs to be more like this:

linear(b,0,540,100,0)
S_ A
S_ AAuthor
Inspiring
July 14, 2024

😮 😮 😮  You are sooo right!!! 😮  Now it works. 

 

Thank you so much.