Skip to content

Tags ​

Inherits Instance.

A service: the global Tags is the game's one Tags.

Methods ​

  • AddTag(instance: Instance, tag: string): ()
  • GetAllTags(): {string}
  • GetInstanceAddedSignal(tag: string): Signal<Instance>
  • GetInstanceRemovedSignal(tag: string): Signal<Instance>
  • GetTagged(tag: string): {Instance}
  • GetTags(instance: Instance): {string}
  • HasTag(instance: Instance, tag: string): boolean
  • RemoveTag(instance: Instance, tag: string): ()

Events ​

  • TagAdded, whose handlers get (string).
  • TagRemoved, whose handlers get (string).

Inherited ​

From Instance: AddTag, AncestryChanged, Archivable, AttributeChanged, Changed, ChildAdded, ChildRemoved, ClassName, ClearAllChildren, Clone, DescendantAdded, DescendantRemoving, Destroy, Destroying, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, GetDescendants, GetFullName, GetPropertyChangedSignal, GetTags, HasTag, IsA, IsAncestorOf, IsDescendantOf, IsPropertyModified, Name, Parent, QueryDescendants, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild.

Apache License 2.0