Functions
9AddTag
(instance: Instance, tag: string) → void
| Field | XML type | Value |
|---|
Name | string | AddTag |
summary | string | Adds a tag to an instance. |
GetAllTags
() → Array
| Field | XML type | Value |
|---|
Name | string | GetAllTags |
summary | string | Returns all tags currently used in the DataModel. |
GetCollection
(class: string) → Objects
| Field | XML type | Value |
|---|
Name | string | GetCollection |
Deprecated | bool | true |
summary | string | Returns the legacy collection for a class. |
GetInstanceAddedSignal
(tag: string) → RBXScriptSignal
| Field | XML type | Value |
|---|
Name | string | GetInstanceAddedSignal |
summary | string | Returns a signal fired when an instance enters the tagged collection. |
GetInstanceRemovedSignal
(tag: string) → RBXScriptSignal
| Field | XML type | Value |
|---|
Name | string | GetInstanceRemovedSignal |
summary | string | Returns a signal fired when an instance leaves the tagged collection. |
GetTagged
(tag: string) → Objects
| Field | XML type | Value |
|---|
Name | string | GetTagged |
summary | string | Returns DataModel descendants with the given tag. |
GetTags
(instance: Instance) → Array
| Field | XML type | Value |
|---|
Name | string | GetTags |
summary | string | Returns the tags applied to an instance. |
HasTag
(instance: Instance, tag: string) → bool
| Field | XML type | Value |
|---|
Name | string | HasTag |
summary | string | Returns whether an instance has a tag. |
RemoveTag
(instance: Instance, tag: string) → void
| Field | XML type | Value |
|---|
Name | string | RemoveTag |
summary | string | Removes a tag from an instance. |