Skip to content

UIImage

UIImage is a class for displaying images in your place's UI.

Inherits UIField

Properties

Color : Color

Specifies the color of the image.

Example

image.Color = Color.New(1, 0, 0)

ImageID : int

Specifies the image ID of the UIImage.

Example

image.ImageID = 12274

ImageType : ImageType

TO-DO

Loading : boolean

Returns whether or not the image is loading.

Example

while image.Loading do
    wait(0)
end
print("Image loaded")

Visible : boolean

Specifies if the image is visible.

Example

image.Visible = false