Object
Object is the base class for all engine objects. All classes in the engine inherit from Object.
Properties
ClassName
string Read-onlyThe name of this object's class
Name
stringThe name of this object
Methods
IsA(className: string)
boolChecks if this object is an instance of the specified class
Parameters:
classNamestring
FirePropertyChanged(propertyName: string)
voidTriggers the Changed event for a specific property
Parameters:
propertyNamestring
Events
Changed
Event(propertyName: string)Fires when a property of this object changes
part.Changed:Connect(function(property)
print("Property changed:", property)
end)