ImageLabel
ImageLabel : GuiObject
Overview
The ImageLabel class is a 2D user interface element that displays a non-interactive image. It functions similarly to a Frame but includes the capability to render an image, making it ideal for displaying static graphics, icons, or backgrounds within a game's UI.
Description
The ImageLabel class provides a range of properties and features that allow developers to customize how images are displayed in their user interfaces. It is particularly useful for creating visually rich UIs without interactive elements.
Properties
Image
string
The content id of the image to display
Code Samples
ImageTransparency
number
ImageTransparency controls the transparency level of the displayed image, ranging from 0 to 1
Code Samples
ImageColor3
Color3
ImageColor3 changes the color tint of the image. It can be used to apply a colored overlay or adjust the hue of the image.
Code Samples
ImageContent
Content
The ImageContent
property specifies the source content used to render the image in the ImageLabel
. It accepts a content URL or asset ID reference that links to the desired image. This property allows dynamic image assignment, enabling developers to load and display external or in-game assets efficiently.