anyone could help me with this?
Page 1 / 1
Sure.
Instead of creating an interaction inside the component, you need to create a variable.
For example: I’ve created a string variable with the name: Status and the value: Resting, then I’ve applied this variable to the component from the prototype settings, selecting the trigger “while pressing” and the action “set variable” > onPress, from the variables previously set.
Then I created a second interaction, a double action: one to change the state and the other to open the overlay and voila!
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.