Tags
Adds CollectionService tags to an instance.
| Type | Since | Scoped |
|---|---|---|
| Declaration | 0.3.1 | No |
Constructor
[Tags] = {string}
Usage
Tags is an easy way of adding CollectionService tags to an instance you are creating or hydrating with New.
It must be an index in New's properties, like so:
local NewObject = New(Object, {
[Tags] = {"X", "Y", "Z"} -- Adds "X", "Y", and "Z" CollectionService tags to Object
-- Other properties, etc...
})