# Background changes depending on the alarm in a given group/folder

**URL:** <https://forum.inductiveautomation.com/t/background-changes-depending-on-the-alarm-in-a-given-group-folder/98745>\
**Category:** Ignition\
**Tags:** perspective, scripting\
**Created:** [November 18, 2024, 3:53pm UTC](https://forum.inductiveautomation.com/t/background-changes-depending-on-the-alarm-in-a-given-group-folder/98745 "2024-11-18T15:53:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rafal\_Samoraj](https://avatars.discourse-cdn.com/v4/letter/r/59ef9b/32.png) [@Rafal\_Samoraj](https://forum.inductiveautomation.com/u/Rafal_Samoraj)\
**Post date:** [November 18, 2024, 3:53pm UTC](https://forum.inductiveautomation.com/t/background-changes-depending-on-the-alarm-in-a-given-group-folder/98745/1 "2024-11-18T15:53:46Z")

</div>

Hello,  
I want to change background on my factory layout depending on the alarm in a given group/folder.  
For example: I have folder which contains tags related with MACHINE1. If there is an active alarm on one or more tags I want to change MACHINE1 background color on my factory layout.  
How to do it?
