Spritesheet into a button

Hi,

perhaps I’m a little stupid but is there a possibility to put a sprite sheet animation into a button with normal, hover and pressed?

Thanks

Thomas

There’s not a way to use the button states with the Sprite Sheet element, but you can have each state use a different background image.

In the Element Inspector, set the background Fill Style to “Image” and choose one from the open panel. Two notes about this:

  • The fill styles must be identical across the button states, so choose an image for the “normal” state first before doing the hover/pressed states
  • If the image you choose from the panel already exists in the Resources Library it will wind up using that one, so there’s no need to worry about duplicates.