We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

tylarthefarmer

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Set scrollY in puzzles #61458
    tylarthefarmer
    Participant

    Not sure if this will work on or not but worth a try.

    You may want to put your scroll function in an if then statement.
    If the user is in scroll mode….use the scroll function. If the user jumps…exit scroll mode and jump and then reset the varialbe to go back to scroll mode. Might work…not sure. But watching this thread for other solutions.

    Thanks for the suggestion! The problem I see with this implementation is that once we switch back to scroll mode, it will jump back to where it was before it jumped. I don’t see a way to update the scrollY variable to act as if it was scrolled to the portion that was jumped to.

Viewing 1 post (of 1 total)