Skip to content

Api > ReflectionProbe > CompareTag()


ReflectionProbe.CompareTag(string tag)⚓︎

Is this game object tagged with tag ?

Parameters:⚓︎

Name Type Description
tag string The tag to compare.

Returns:⚓︎

type Description
boolean Is this game object tagged with tag ?

Usage⚓︎

---@type ReflectionProbe
local reflectionprobe;

---@type string
local tag;


local val0 = reflectionprobe.CompareTag(tag)