Touch Down Touch up functionality

  1. 2 years ago

    Hi Pubcoder team,
    I have been trying to make an animation respond to a touch down interactive followed by a touch up.
    The idea is that the animation will only play while the user keeps their finger depressed on a screen button.
    As soon as they lift off the animation stops and resets to the beginning. Ideally I would like to have it so that if a user
    does not keep their finger on the button for a certain length of time the animation will stop and go to an alternative image.

    I can't seem to make the touch up respond on the first time after the touch down... Second touch down the touch up works.
    What is going on here what am I missing.
    Any advice as always is appreciated.


or Sign Up to reply!