roblox
Missing API Documentation
This API Class does not have any or complete API documentation. Please add API documentation if possible.

The CollectionService class inherits from Instance.

Methods

AddTag(instance: Instance, tag: string): null

  • Custom Lua stateThis member uses the Lua C API directly.
Parameters
NameType
instanceInstance
tagstring
  • Thread safety: unsafe

GetAllTags(): Array

This class member is missing documentation. Create or add to its subpage at Class:CollectionService/GetAllTags.
  • Thread safety: safe

GetCollection(class: string): Instances

  • DeprecatedThis member will be phased out and should be avoided while it is still available.
Parameters
NameType
classstring
  • Thread safety: unsafe

GetInstanceAddedSignal(tag: string): RBXScriptSignal

Parameters
NameType
tagstring
  • Thread safety: unsafe

GetInstanceRemovedSignal(tag: string): RBXScriptSignal

Parameters
NameType
tagstring
  • Thread safety: unsafe

GetTagged(tag: string): Instances

Parameters
NameType
tagstring
  • Thread safety: safe

GetTags(instance: Instance): Array

  • Custom Lua stateThis member uses the Lua C API directly.
Parameters
NameType
instanceInstance
  • Thread safety: safe

HasTag(instance: Instance, tag: string): bool

  • Custom Lua stateThis member uses the Lua C API directly.
Parameters
NameType
instanceInstance
tagstring
  • Thread safety: safe

RemoveTag(instance: Instance, tag: string): null

  • Custom Lua stateThis member uses the Lua C API directly.
Parameters
NameType
instanceInstance
tagstring
  • Thread safety: unsafe

Events

ItemAdded(instance: Instance)

  • DeprecatedThis member will be phased out and should be avoided while it is still available.
Parameters
NameType
instanceInstance
  • Thread safety: unsafe

ItemRemoved(instance: Instance)

  • DeprecatedThis member will be phased out and should be avoided while it is still available.
Parameters
NameType
instanceInstance
  • Thread safety: unsafe

TagAdded(tag: string)

Parameters
NameType
tagstring
  • Thread safety: unsafe

TagRemoved(tag: string)

Parameters
NameType
tagstring
  • Thread safety: unsafe

External links