Skip to content
Roblox API Reference

GuiBase2d

An abstract class inherited by 2D GuiObjects.
  • Not browsable
  • Not creatable
Memory category
Instances
Own members
18
Inherited members
75
Subclasses
2
Siblings
3

Properties40

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Defined byGuiBase2d17

Property categoryData

  • GuiBase2d.AbsolutePosition: Vector2
    Describes the actual screen position of a GuiBase2d element, in pixels.
    • Read only
    • Thread unsafe
    • Read capabilities: UI
  • GuiBase2d.AbsoluteRotation: number
    Describes the actual screen rotation of a GuiBase2d element, in degrees.
    • Read only
    • Thread unsafe
    • Read capabilities: UI
  • GuiBase2d.AbsoluteSize: Vector2
    Describes the actual screen size of a GuiBase2d element, in pixels.
    • Read only
    • Thread unsafe
    • Read capabilities: UI
  • GuiBase2d.ActiveQueryNames: string
    • Hidden
    • Not replicated
    • Not scriptable
    • Roblox script security
    • Read capabilities: UI
  • GuiBase2d.ReplicatedInsertionOrder: number
    • Hidden
    • Not scriptable
    • Roblox engine security
    • Read capabilities: UI

Property categoryDebugging

  • GuiBase2d.ClippedRect: Rect
    • Hidden
    • Read only
    • Roblox script security
    • Read capabilities: UI
  • GuiBase2d.IsNotOccluded: boolean
    • Hidden
    • Read only
    • Roblox script security
    • Read capabilities: UI
  • GuiBase2d.RawRect2D: Rect
    • Hidden
    • Read only
    • Roblox script security
    • Read capabilities: UI
  • GuiBase2d.TotalGroupScale: number
    • Hidden
    • Read only
    • Roblox script security
    • Read capabilities: UI

Property categoryLocalization

  • GuiBase2d.AutoLocalize: boolean
    When set to true, localization will be applied to this GuiBase2d and its descendants.
    • Read capabilities: UI
  • GuiBase2d.RootLocalizationTable: LocalizationTable
    A reference to a LocalizationTable to be used to apply automated localization to this GuiBase2d and its descendants.
    • Read capabilities: UI
  • GuiBase2d.Localize: boolean
    Deprecated: This item is deprecated. Do not use it for new work.
    Automatically set to true when a localization table's LocalizationTable.Root targets this object, or an ancestor of this object.
    • Deprecated
    • Hidden
    • Not replicated
    • Read capabilities: UI
    • Load only

    Use AutoLocalize instead.

Property categorySelection

  • GuiBase2d.SelectionBehaviorDown: Enum.SelectionBehavior
    Customizes gamepad selection behavior in the down direction.
    • Read capabilities: UI
  • GuiBase2d.SelectionBehaviorLeft: Enum.SelectionBehavior
    Customizes gamepad selection behavior in the left direction.
    • Read capabilities: UI
  • GuiBase2d.SelectionBehaviorRight: Enum.SelectionBehavior
    Customizes gamepad selection behavior in the right direction.
    • Read capabilities: UI
  • GuiBase2d.SelectionBehaviorUp: Enum.SelectionBehavior
    Customizes gamepad selection behavior in the up direction.
    • Read capabilities: UI
  • GuiBase2d.SelectionGroup: boolean
    Allows customization of gamepad selection movement.
    • Read capabilities: UI

Methods42

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

Events11

Inherited fromObject1
Inherited fromInstance9
Defined byGuiBase2d1