Skip to content
Roblox API Reference

InputActionLabel

A GuiObject that automatically displays the keybinding for an action as text or an image.
Memory category
Gui
Own members
12
Inherited members
156
Subclasses
0
Siblings
12

Properties91

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 byInputActionLabel12

Property categoryData

  • InputActionLabel.InputAction: InputAction
    The InputAction whose preferred binding this label displays.
    • Read capabilities: UI
  • InputActionLabel.ResolvedImageContent: Content
    Read-only. The resolved image content currently being displayed.
    • Read only
    • Read capabilities: UI
  • InputActionLabel.ResolvedText: string = ""
    The resolved key name string currently being displayed.
    • Read only
    • Read capabilities: UI

Property categoryImage

  • InputActionLabel.ImageColor3: Color3 = Color3.new(1, 1, 1)
    Determines how rendered label images will be colorized.
    • Read capabilities: UI
  • InputActionLabel.ImageTransparency: number = 0
    Determines the transparency of rendered label images.
    • Read capabilities: UI

Property categoryText

  • InputActionLabel.FontFace: Font
    Determines the font used to render text.
    • Read capabilities: UI
  • InputActionLabel.TextColor3: Color3 = Color3.new(0.105882, 0.164706, 0.207843)
    Determines the color of rendered text.
    • Read capabilities: UI
  • InputActionLabel.TextSize: number = 8
    Determines the line height of text in offsets.
    • Read capabilities: UI
  • InputActionLabel.TextTransparency: number = 0
    Determines the transparency of rendered text.
    • Read capabilities: UI
  • InputActionLabel.TextWrapped: boolean = false
    Determines if text wraps to multiple lines within the label's space.
    • Read capabilities: UI
  • InputActionLabel.TextXAlignment: Enum.TextXAlignment = Enum.TextXAlignment.Center
    Determines the horizontal alignment of rendered text.
    • Read capabilities: UI
  • InputActionLabel.TextYAlignment: Enum.TextYAlignment = Enum.TextYAlignment.Center
    Determines the vertical alignment of rendered text.
    • Read capabilities: UI

Methods48

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

Events29

Inherited fromObject1
Inherited fromInstance9
Inherited fromGuiBase2d1
Inherited fromGuiObject18