first time user trying to figure out this error
I'm following a yt tutorial that's not for mac on a mac and I keep getting this simple error
error : error : argument 1 to sampleImage() must be 2 numbers
this is my expression:
p = thisComp.layer("NULL").transform.position[0]
s = thisLayer
a = s.sampleImage(p, [.1,.1])[3]
linear(a,0,1,0,100)
I'm trying to get the opacity of an image to go from 0 to 100 when the mouse hovers
Any help will be greatly appreciated so that I can learn with you guys!
