Skip to main content
Question

When to use "while pressing" or "mouse down/up"


Tyler_Nishida

Hi, I’m just wondering when to use “while pressing”,
instead of “mouse down” and “mouse up”

I’m creating a mobile app quiz. So I’d like the answer options to have three states:
unselected state, pressed state, and selected state.

Thank you

4 replies

Josh
  • Former Community Manager
  • 1019 replies
  • March 1, 2021

Here’s a definition of each of the prototyping triggers: https://help.figma.com/hc/en-us/articles/360040035834

For your pressed state though I would probably use while pressing


Tyler_Nishida

Thanks Josh!
I read through that page and I still don’t understand the differences enough to know which trigger to use.

I assume I should be using “while pressing” in combination with “mouse up”?


Shane
  • 74 replies
  • March 3, 2021

While pressing is good for when you want to return to the state you came from ie. A → B → A (on release). Mouse down and then Mouse up is good when you want to move from A → B → C. At least that’s how/when I use them 🙂


West
  • 10 replies
  • March 4, 2021

Check this file. https://www.figma.com/community/file/946809607056414616
Look this checkbox, it is getting big when you mouse down, and getting small when mouse up.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings