# Composite tag with scripting

**URL:** <https://forum.inductiveautomation.com/t/composite-tag-with-scripting/69206>\
**Category:** Ignition\
**Created:** [January 31, 2023, 1:24pm UTC](https://forum.inductiveautomation.com/t/composite-tag-with-scripting/69206 "2023-01-31T13:24:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Penn](https://avatars.discourse-cdn.com/v4/letter/p/ba9def/32.png) [@Penn](https://forum.inductiveautomation.com/u/Penn)\
**Post date:** [January 31, 2023, 1:24pm UTC](https://forum.inductiveautomation.com/t/composite-tag-with-scripting/69206/1 "2023-01-31T13:24:14Z")

</div>

Is there a way to create a 'composite tag' with scripting? I have several folders each containing boolean tags relating to the other tags in its respective folder. Can I make a script with a parameter of the path to one of those folders that creates a tag that looks at the value of each of that folder's tags and sets the 'composite tag's' value to the logical OR of the other tags?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 31, 2023, 1:40pm UTC](https://forum.inductiveautomation.com/t/composite-tag-with-scripting/69206/2 "2023-01-31T13:40:05Z")

</div>

Just make an expression tag. If you have many of these, make a UDT. No need for a script, which is good, because expressions are much faster/efficient.
