Hey all! I have a question for using scroll.closestContentLayer with an if statement. For example: if "scroll.closestContentLayer" == "id:26" --> do something. Im looking for the right syntax. Thanks!
I think what you should work is 'if scroll.closestContentLayer.id == 26'
thanks, i'll try it out 👍
it works but i have to defined an OriginX and OriginY value: scroll.closestContentLayer(originX, originY).id == 26