Question by
musashi255 · Jun 10, 2020 at 02:25 AM ·
animationuser interface
How to make button animation transition to "normal" state instant?
So, I have a button that i move down 4 pixels when pressed, and i have gotten that animation to transition instantly, however when i release the button it slowly moves back up the 4 pixels.
I can't for the life of me figure out how to get that transition to happen instantly.
I have tried:
editing the curves to all be broken and constant
editing the animation transition settings to have a 0 transition duration and even deleting the default transition between "any state" and "normal" and leaving my own transition between "pressed" and "normal"
Comment
Answer by musashi255 · Jun 10, 2020 at 02:56 AM
I figured it out myself, had to set the duration to 0 in the settings for the transition from "any state" to "highlighted" as well.