# Global Scripting Variables (Library Script Top-Level Vars)

**URL:** <https://forum.inductiveautomation.com/t/global-scripting-variables-library-script-top-level-vars/60516>\
**Category:** Ignition\
**Tags:** scripting, ignition81\
**Created:** [June 8, 2022, 8:22pm UTC](https://forum.inductiveautomation.com/t/global-scripting-variables-library-script-top-level-vars/60516 "2022-06-08T20:22:43Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [June 8, 2022, 8:27pm UTC](https://forum.inductiveautomation.com/t/global-scripting-variables-library-script-top-level-vars/60516/3 "2022-06-08T20:27:50Z")

</div>

In that case, the script is being called from a Tag Change event script, which executes on the Gateway, no? So shouldn’t it have access to that global variable?

---

_[View the full topic](https://forum.inductiveautomation.com/t/global-scripting-variables-library-script-top-level-vars/60516)._
