I’m looking for some input on a Figma prototyping challenge. Specifically, I’d like to know if it’s possible to create two distinct animations for a button:
Single click: When clicked once, the digital value changes by one step.
Long press: Holding the button down triggers a continuous, automatic increase in the value until the button is released.
If you have any insights or suggestions on how to achieve this effect in Figma, please share them!
Apologies for the delayed response! After looking into this, I’ve found that it’s a longstanding product limitation and unfortunately, finding an appropriate solution is quite challenging. The only recommendation we can provide at this time is to try avoiding adding extra interactions to the on-click function.
Our product team is aware of this issue and we suggest using the workaround in the meantime.
Figma, please add the ability to have Press and HOLD interactions. I do ux design in the video game industry and I use Figma all the time and this feature is missing and limits my ability to make fully realized prototypes. The feature of a long press or press hold action would be invaluable to many designers and would really help Figma stand out in the ux prototying tool space.
Hi, by using mouse down and mouse up events instead you can simulate a long press. If you have three variants. Mouse down goes from variant 1 to variant 2. On variant two you have a delay for x milliseconds before moving on to variant 3. Add a second interaction to variant 2, if a mouse up event is fired make it go back to variant 1.