Thanks for your reply!
What I wanted to do is have some sort of way of instant hover effect. (for tekst highlights in an OS) If I just do linear it will gradually become visible and invisible. I want it to be a hard transition.
I got it from a youtube channel, and for him it does seem to work with this code which really boggles my mind.
Therefore I wanted to have the sample image, and then linear the part that needs to be animated. As this whole expression is in the Opacity parameter.
Should you know of any other way to do this, I’d be really grateful!