How to make GUI from multiple images

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By MadWorg

Hello! I am a beginner at game development and Godot so it’s a bit of a double whammy.
Currently trying to make a UI for my game but the assets that I’ve downloaded don’t have a whole bar texture, it’s spliced into parts. I know this is so you can make a bigger or smaller bar but I have no idea how to do this. Are there any good examples of it?

:bust_in_silhouette: Reply From: sash-rc

You didn’t provide an image, so it’s hard to tell exactly, but I guess you need a NinePatchRect.

Thanks, this is exactly what I was looking for.

MadWorg | 2021-07-14 11:21