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.

Stop “animate param” Puzzle and reverse it?

Home Forums Puzzles Stop “animate param” Puzzle and reverse it?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #39856
    Jakob Kolmanic
    Participant

    Hello,
    I have a questen about the “animate param”-puzzle.

    My target is, that I want to start the parameter animation with a html button and if you press the button again it reverses the parameter animation.

    My solution is, that i have two “animate param”-puzzles.
    One for open and one for close.
    I check the status with a “is open” variable and then I trigger the correct “animate param”.

    It works perfekt until the use presses the button in the time it animates.

    Now my question is:
    Is it is possible to interrupt the puzzle and reverse it from the value it was interrupted? So I would not neet two puzzles.

    I hope I have explained my probleme understandable. :scratch:

    thank you

    #39870
    GLiFTeK
    Customer

    Try using the updated value
    To to get the current value of the animation, to sense where to stop, and do what’s desired accordingly.

    :good:

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.