# Enable and Disable Gateway Scripts through system function?

**URL:** <https://forum.inductiveautomation.com/t/enable-and-disable-gateway-scripts-through-system-function/15554>\
**Category:** Ignition\
**Created:** [October 3, 2017, 7:59pm UTC](https://forum.inductiveautomation.com/t/enable-and-disable-gateway-scripts-through-system-function/15554 "2017-10-03T19:59:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbackus](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tbackus/32/5091_2.png) [@tbackus](https://forum.inductiveautomation.com/u/tbackus)\
**Post date:** [October 3, 2017, 7:59pm UTC](https://forum.inductiveautomation.com/t/enable-and-disable-gateway-scripts-through-system-function/15554/1 "2017-10-03T19:59:23Z")

</div>

Is there a system function or some other method of enabling or disabling a script within a project? I am aware I could use a boolean and IF statement but though I would check for something “built-in” that would do this.

Thanks

---

<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:** [October 3, 2017, 9:34pm UTC](https://forum.inductiveautomation.com/t/enable-and-disable-gateway-scripts-through-system-function/15554/2 "2017-10-03T21:34:48Z")

</div>

Tag events have an enable checkbox. Everything else you are on your own.
