ImageLabel
ImageLabel : GuiObject
Overview
Unlike Frame, ImageLabel is a UI element that can be used to display a specified image in a square.
The color and transparency of image can be corrected and adjusted with the ImageColor3 and ImageTransparency properties. If background needs to be hidden while image is displayed, set BackgroundTransparency to 1.
ImageLabel can be controlled only in client environment.
Properties
Image
string
Specifies image asset to be displayed in ImageLabel.
Code Samples
local ScreenGui = script.Parent
local ImageLabel = ScreenGui:WaitForChild("ImageLabel")
ImageLabel.Image = "ovdrassetid://1234"ImageColor3
Color3
Specifies the color to be applied to image.
If color is left white, original image will be displayed. If some other color is specified, the whole image will be in that hue.
Code Samples
ImageContent
Content
Currently not supported.
Code Samples
ImageTransparency
number
Specifies the transparency of image.
0 means the image is completely opaque while 1 means the image is totally invisible.
If background needs to be hidden while image is displayed, set BackgroundTransparency to 1.
Code Samples
Methods
Events
See also
GUILast updated