tag

Description

Returns the value of the tag at the path specified. Normally, you'd use the expression language's built-in bound-value syntax to use a tag value in an expression. What makes this function useful is that the path itself can be the result of an expression, meaning it can be dynamic.

Syntax

tag( tagPath )

Examples
tag("Tanks/Tank5") //returns Tank5's value.
tag("Tanks/Tank" + {Root Container.TankNum}) //returns the value for the tank represented by the dynamic property TankNum on the Root Container.