-
Notifications
You must be signed in to change notification settings - Fork 5
Component UISprite
Berke edited this page Jun 23, 2026
·
1 revision
The UISprite component controls textured UI rendering for interface elements.
uiSprite.isValidReturns whether the UISprite component is valid.
booleanuiSprite.textureIndexGets or sets the texture used by the UI sprite.
numberuiSprite.textureIndex = 3local sprite = entity.uiSprite
sprite.textureIndex = 1