I'd like to use a spritesheet in GUI for a game of mine, but I'm not sure how I would go about using one. Any help would be much appreciated! :D
✓ ANSWER ACCEPTED
How do I use spritesheets?
1 answer
✓ Accepted answer
Using the ImageRectSize and ImageRectOffset properties of the two Image* gui objects, you can use spritesheet decals. The 'rect' is the size of each individual sprite (you can change this on the fly if you want to.) and the 'offset' is akin to the UDim3 Offset component in that it's based on the top-left corner.
I'd add links but I'm on mobile right now, sorry!
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
Thanks!
Also to note, make sure to evenly space your sprites as well!
You can actually change both settings on the fly, so you don't have to do that at all!