How to use spritesheet on imagebutton?

Hi guys, I’m trying to use this spritesheet for buttons on a imagebutton but I don’t how imagerectsize and offset works and I tried everything. I looked it up but it only shows how to do animated sprites I don’t need animated sprites just static so its a button in the spritesheet

1 Like

Imagerectsize is basically sizing a image size

32x32 and 64x64 (depends on what you want sprite to display and it’s size)

And then imagerectoffset is

Setting offset (depends on what you want sprite to display and it’s position in image)

I tried around with imagerectoffset I couldn’t figure it out