Hello Dan,
thank you for the script, as well as your whole website.
Maybe can someone here help me with my script, in the same spirit of this one?
I’m trying to use this code but then my layer stays transparent, it may have a mistake:
angle = transform.yRotation%360;
minAngle = -23;
maxAngle = 22;
if ([angle < minAngle] || [angle > maxAngle]) 0 else 100
There I want the opacity to go from 0 to 100 without fading. Hope this is understandable enough, or?
Thank you for the help.
Ad