Panel Sprite (9-patch) Object Reference
Panel Sprite, also called 9-patch, is an object showing an image that can be resized by stretching or repeating the edges and corners as well as the filling. Read more explanations about it.
Panel Sprite ("9-patch")
An image with edges and corners that are stretched separately from the full image.
Object actions
Tint color
Change the tint of a Panel Sprite. The default color is white.
See parameters & details
- Parameter 0: 👾 Object
- Parameter 1 (color): Tint
Technical note: this action internal type (in GDevelop JSON) is
PanelSpriteObject::SetColor.
Image name
Change the image of a Panel Sprite.
See parameters & details
- Parameter 0: 👾 Object
- Parameter 1 (imageResource): Image file (or image resource name)
Technical note: parameter 2 is an internal parameter handled by GDevelop.
Technical note: this action internal type (in GDevelop JSON) is
PanelSpriteObject::SetImageFromResource.
No expressions for this object.
The Panel Sprite (9-patch) Object extension is always installed in all GDevelop projects: there is no need to add it from the Project Manager.
This page is an auto-generated reference page about the Panel Sprite (9-patch) Object feature of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop features here.