Is the Button Component a deprecated one? Or is it a new one?

Hi All!
I was trying to use the Button Component, and after I switched the “Transition Mode” to “Sprite Change”, I couldn’t assign anything to the “Hover Sprite” slot.
Is the Button Component a deprecated one? Or is it a new one? I know that sprite.js is deprecated.

No, in opposite, it’s a new component.

You are lucky to use it.
I’m not sure but i guess it’s kinda wrapper for 2D element with events listeners for mouseenter and mousedown.

So, before you can set something to one of it’s fields, you have to create a new sprite asset.
Probably you can’t, because it’s still under testing (or not, I don’t know exactly)

1 Like

It’s related to this new feature: Testing Sprites and Checkpoints