Skip to main content
Participant
January 13, 2021
Question

Help| HTML button animation

  • January 13, 2021
  • 1 reply
  • 336 views

I have a question about the HTML canvas.

 

I want build animation button, when i hover the button, the color from blue to the yellow in 10 frames,

but when i mouseout the button, the yellow button will back to blue in 1 frame,there are not have transition.

How can i make a smooth transition when i mouseout the button, the yellow will change to blue in 10 frames too?

 

I also upload the effect refrence to the attachment.

 

 

 

    This topic has been closed for replies.

    1 reply

    kglad
    Community Expert
    Community Expert
    January 14, 2021

    use a movieclip button so you can precisely control the transitions with the timeline and code.