Instance class

Implementers

Constructors

Instance(String className, [bool recursive])

Properties

ancestryChanged → RBXScriptSignal<dynamic Function(Instance, Instance)>
no setter
archivable ↔ bool
getter/setter pair
childAdded → RBXScriptSignal<dynamic Function(Instance)>
no setter
childRemoved → RBXScriptSignal<dynamic Function(Instance)>
no setter
className ↔ String
getter/setter pair
descendantAdded → RBXScriptSignal<dynamic Function(Instance)>
no setter
descendantRemoving → RBXScriptSignal<dynamic Function(Instance)>
no setter
hashCode → int
The hash code for this object.
no setterinherited
name ↔ String
getter/setter pair
parent ↔ Instance?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearAllChildren() → void
clone() → Instance
destroy() → void
findFirstAncestorOfClass(String className) → Instance?
findFirstAncestorWhichIsA(String className) → Instance?
findFirstChild(String name, [bool recursive]) → Instance?
findFirstChildOfClass(String className) → Instance?
findFirstChildWhichIsA(String className) → Instance?
findFirstDescendant(String name) → Instance?
getChildren() → List<Instance>
getDescendants() → List<Instance>
getFullName() → String
getPropertyChangedSignal(String property) → RBXScriptSignal<dynamic Function(Instance)>
isA(String className) → bool
isAncestorOf(Instance descendant) → bool
isDescendantOf(Instance ancestor) → bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
waitForChild(String name, [double? timeOut]) → Instance

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

of<T extends Instance>() → T