Skip to main content

Tags

Adds CollectionService tags to an instance.

TypeSinceScoped
Declaration0.3.1No

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...
})