Skip to content
Roblox API Reference

SelectionBox

Renders a 3D box around its Adornee.
Memory category
Instances
Own members
5
Inherited members
80
Subclasses
0
Siblings
1

Properties33

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Inherited fromGuiBase3d4

Property categoryAppearance

Property categoryData

Inherited fromInstanceAdornment1

Property categoryData

Defined bySelectionBox5

Property categoryAppearance

  • SelectionBox.LineThickness: number = 0.150000006
    Determines the thickness of the boxes outlines, in studs.
    • Read capabilities: Basic + UI
  • SelectionBox.StudioSelectionBox: boolean = false
    • Hidden
    • Roblox script security
    • Read capabilities: Basic + UI
  • SelectionBox.SurfaceColor3: Color3 = Color3.new(0.0509804, 0.411765, 0.67451)
    Determines the color of the box's surfaces.
    • Read capabilities: Basic + UI
  • SelectionBox.SurfaceTransparency: number = 1
    Determines the transparency of the box's surfaces.
    • Read capabilities: Basic + UI
  • SelectionBox.SurfaceColor: BrickColor
    Deprecated: This property is deprecated in favor of SurfaceColor3 which uses the more precise Color3 data type instead of a BrickColor used by this property.
    A BrickColor version of SurfaceColor3.
    • Deprecated
    • Hidden
    • Not replicated
    • Read capabilities: Basic + UI
    • Load only

    Use SurfaceColor3 instead.

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

Events10

Inherited fromObject1
Inherited fromInstance9