# Sandbox.GameTags

Entity Tags are strings you can set and check for on any entity. Internally
these strings are tokenized and networked so they're also available clientside.

- Kind: class
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`
- Inherits: [Sandbox.ITagSet](/api/Sandbox.ITagSet)

## Methods

- [`Add`](/api/Sandbox.GameTags/Add): Try to add the tag to this object.
- [`Flush`](/api/Sandbox.GameTags/Flush)
- [`GetSuggested`](/api/Sandbox.GameTags/GetSuggested): Get all potential suggested tags that someone might want to add to this set.
- [`GetTokens`](/api/Sandbox.GameTags/GetTokens): Returns a list of ints, representing the tags. These are used internally by the engine.
- [`Has`](/api/Sandbox.GameTags/Has): Returns true if this object (or its parents) has given tag.
- [`HasAny`](/api/Sandbox.GameTags/HasAny)
- [`Remove`](/api/Sandbox.GameTags/Remove): Try to remove the tag from this entity.
- [`RemoveAll`](/api/Sandbox.GameTags/RemoveAll): Remove all tags
- [`TryGetAll`](/api/Sandbox.GameTags/TryGetAll): Returns all the tags this object has.
