Spaces is a community where you can showcase your interactive prototypes Sign up

Get the position of a scrolling container 1,742

If you need to get the Y position of a vertically scrolling container, create a text box. Then on the container scroll trigger, set a variable that evaluates the numerical callback value from the event (Y position). Then add a callback that changes the text property of the text box by reading from the variable.

Todd Siegel
Share 62 4
Published January 30th, 2016 in Interactive, Input

Comments (1)

You must be signed in to join the conversation.
Alexander Mickus @protonerds · Feb 1, 2016
Great job! Thanks Todd :)

More by Todd View all

Staff picks