# Gateway Script global name not defined

**URL:** <https://forum.inductiveautomation.com/t/gateway-script-global-name-not-defined/14819>\
**Category:** Ignition\
**Created:** [July 18, 2017, 6:12pm UTC](https://forum.inductiveautomation.com/t/gateway-script-global-name-not-defined/14819 "2017-07-18T18:12:50Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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 17, 2018, 12:10pm UTC](https://forum.inductiveautomation.com/t/gateway-script-global-name-not-defined/14819/4 "2018-10-17T12:10:16Z")

</div>

> [@1jeffwill11](#):
>
> What do you mean by a project library function?

Define functions in a project script module. Call those functions as `project.someName.functionName()`. In the designer, navigate to Project =\> Scripts =\> Script Library.

---

_[View the full topic](https://forum.inductiveautomation.com/t/gateway-script-global-name-not-defined/14819)._
