TextCompareTagOn this pageText.CompareTag(string tag) Is this game object tagged with tag ? Parameters: NameTypeDescriptiontagstringThe tag to compare. Returns: typeDescriptionbooleanIs this game object tagged with tag ? Usage ---@type Textlocal text;---@type stringlocal tag;local val0 = text.CompareTag(tag)