Skip to content
Roblox API Reference

ImageLabel

A 2D user interface element that displays a single non-interactive image.
Memory category
Gui
Own members
15
Inherited members
156
Subclasses
0
Siblings
2

Properties93

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Inherited fromGuiBase2d17

Property categoryData

Property categoryDebugging

Property categoryLocalization

Property categorySelection

Inherited fromGuiObject39

Property categoryAppearance

Property categoryBehavior

  • Determines if descendant GuiObjects outside of the bounds of a parent GUI element should render.
    • Read capabilities: UI
  • Deprecated: This property is deprecated. Use UIDragDetector instead, as it supports more input types and can be better customized.
    Determines whether a GuiObject (and its descendants) can be dragged around the screen.
    • Deprecated
    • Read capabilities: UI

Property categoryData

Property categoryEventReplicator

Property categorySelection

Property categoryState

Defined byImageLabel14

Property categoryImage

  • ImageLabel.ContentImageSize: Vector2 = Vector2.zero
    • Hidden
    • Read only
    • Roblox script security
    • Read capabilities: UI
  • ImageLabel.Image: string = ""
    The image content displayed by the UI element. Reads and writes to ImageContent.
    • Read capabilities: UI
  • ImageLabel.ImageColor3: Color3 = Color3.new(1, 1, 1)
    Determines how a rendered image will be colorized.
    • Read capabilities: UI
  • ImageLabel.ImageContent: Content
    The image content displayed by the UI element. Supports asset URIs (opens in a new tab) and EditableImage objects.
    • Read capabilities: UI
  • ImageLabel.ImageRectOffset: Vector2 = Vector2.zero
    The offset in pixels of the sub-area of an image to be displayed.
    • Read capabilities: UI
  • ImageLabel.ImageRectSize: Vector2 = Vector2.zero
    Determines the size in pixels of the sub-area of an image to be displayed.
    • Read capabilities: UI
  • ImageLabel.ImageTransparency: number = 0
    Determines the transparency of the rendered image.
    • Read capabilities: UI
  • ImageLabel.IsLoaded: boolean = false
    Indicates whether the image has finished loading from Roblox.
    • Read only
    • Read capabilities: UI
  • ImageLabel.LocalizedImageContent: Content
    • Not replicated
    • Read: Roblox script security
    • Write: Not accessible
    • Read capabilities: UI
    • Load only
  • Selects the image resampling mode for the label.
    • Read capabilities: UI
  • ImageLabel.ScaleType: Enum.ScaleType = Enum.ScaleType.Stretch
    Determines how an image will scale if displayed in a UI element whose size differs from the source image.
    • Read capabilities: UI
  • ImageLabel.SliceCenter: Rect = Rect.new(0, 0, 0, 0)
    Sets the slice boundaries of a 9-sliced image.
    • Read capabilities: UI
  • ImageLabel.SliceScale: number = 1
    Scales the 9-slice edges by the specified ratio.
    • Read capabilities: UI
  • ImageLabel.TileSize: UDim2 = UDim2.new(1, 0, 1, 0)
    Sets the tiling size of the ImageLabel.
    • Read capabilities: UI

Methods49

Inherited fromObject3
  • Get an event that fires when a given property of the object changes.
    Parameters
    ParameterDescription
    property: string
    The property to connect to.
    Returns
    TypeDescription
    RBXScriptSignal
    A signal that fires whenever the property changes.
  • Object:IsA(className: string): boolean
    Returns true if an object's class matches or inherits from a given class.
    • Custom Lua state
    • Thread safe
    Parameters
    ParameterDescription
    className: string
    The class against which the Object's class will be checked. Case-sensitive.
    Returns
    TypeDescription
    boolean
    Describes whether the Object's class matched or is a subclass of the given class.
  • Object:isA(className: string): boolean
    Deprecated: This deprecated function is a variant of Object:IsA() which should be used instead.
    • Deprecated
    • Custom Lua state
    Parameters
    Parameter
    className: string
    Returns
    Type
    boolean

    Use IsA instead.

Inherited fromInstance39
Inherited fromGuiObject6
Defined byImageLabel1
  • ImageLabel:SetEnableContentImageSizeChangedEvents(enabled: boolean)
    • Roblox script security
    • Capabilities: UI
    Parameters
    Parameter
    enabled: boolean

Events29

Inherited fromObject1
Inherited fromInstance9
Inherited fromGuiBase2d1
Inherited fromGuiObject18