Skip to content
Roblox API Reference

Object

Object is the base class for all classes in the Roblox class hierarchy.
  • Not creatable
  • Not replicated
Memory category
Instances
Own members
6
Inherited members
0
Subclasses
30
Siblings
1

Properties2

Defined byObject2

Property categoryData

  • Object.ClassName: string
    A read-only string representing the class this Object belongs to.
    • Read only
  • Object.className: string
    Deprecated: This deprecated property is a variant of Object.ClassName which should be used instead.
    • Deprecated
    • Read only

    Use ClassName instead.

Methods3

Defined byObject3
  • Object:GetPropertyChangedSignal(property: string): RBXScriptSignal
    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.

Events1

Defined byObject1
  • Object.Changed: RBXScriptSignal<(property: string)>
    Fires immediately after a property of the object changes, with some limitations.
    Parameters
    Parameter
    property: string