Make sure the origin of the sprite is at its center. Create an object and assign your button sprite to it.
Nicely animated GUI can make your game look a lot better and more professional! What you will learn to make in this tutorial Buttonsįirst of all we’ll create a button. In this little tutorial we’ll make some animated GUI elements in GML: buttons and menu stuff.