# Custom Global Function / Top-Level Function

**URL:** <https://forum.kirupa.com/t/custom-global-function-top-level-function/327025>\
**Category:** flash\
**Created:** [January 31, 2012, 6:30pm UTC](https://forum.kirupa.com/t/custom-global-function-top-level-function/327025 "2012-01-31T18:30:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ScriptingGringo](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@ScriptingGringo](https://forum.kirupa.com/u/ScriptingGringo)\
**Post date:** [January 31, 2012, 6:30pm UTC](https://forum.kirupa.com/t/custom-global-function-top-level-function/327025/1 "2012-01-31T18:30:34Z")

</div>

Hello everybody,

We all know that we can use the trace function through our code irrespective of the timeline code or say any custom class.

I am curious, is that possible that we could create a custom global function or top-level function, which would be available throughout the custom classes in given project.

Could anyone share/guide how to achieve this, there might be some way or the other.

Humble Regards,  
Scripting Gringo
