# Project-Wide (ie Global) Function Defnintions

**URL:** <https://community.thunkable.com/t/project-wide-ie-global-function-defnintions/898117>\
**Category:** Questions about Thunkable X\
**Created:** [October 13, 2020, 1:38pm UTC](https://community.thunkable.com/t/project-wide-ie-global-function-defnintions/898117 "2020-10-13T13:38:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [October 13, 2020, 1:38pm UTC](https://community.thunkable.com/t/project-wide-ie-global-function-defnintions/898117/1 "2020-10-13T13:38:11Z")

</div>

I hate re-creating helper functions across screens and across projects. I’ve requested a feature to add “Global functions” to Thunkable. All variables are global, so why not functions!

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/4/d48edb4d9bf0ed06ee2925605f3afe09bd033150.png)

Here is the GitHub request: [Project-Wide (ie Global) Function Defnintions · Issue #703 · thunkable/thunkable-issues · GitHub](https://github.com/thunkable/thunkable-issues/issues/703#issue-720261531)

Maybe some Thunkers with a little more influence with Thunkable could promote this. I’m just a chronic complainer 😉

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [October 13, 2020, 3:47pm UTC](https://community.thunkable.com/t/project-wide-ie-global-function-defnintions/898117/2 "2020-10-13T15:47:53Z")

</div>

I’m 💯 with you. This is an essential component. Functions should be global to the project and not to the screen.

I was thinking of writing a request to have library files as part of project assets so that we can always include general functions to any project we need instead of recreating them again and again.

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [October 13, 2020, 3:53pm UTC](https://community.thunkable.com/t/project-wide-ie-global-function-defnintions/898117/3 "2020-10-13T15:53:10Z")

</div>

> [@muneer](#):
>
> st to have library files as part of project asse

@actech has shown how to do this in his demo project. doesnt look easy, but doable. This would be a nice inbuilt feature

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [October 13, 2020, 5:21pm UTC](https://community.thunkable.com/t/project-wide-ie-global-function-defnintions/898117/4 "2020-10-13T17:21:01Z")

</div>

This looks like the link to the demonstration.

Although it is a very clever solution, it doesn’t seem to make for easy blocking…or maintenance.

> [@Using functions across multiple screens](http://community.thunkable.com/t/using-functions-across-multiple-screens/345733/4):
>
> Hi, Global function example see on scrTitle and scrGlobalFunctions in [ACtech demo project](https://x.thunkable.com/projects/5d70f93f8a62b4079eedaff2/project/properties/designer/) Global functions cannot work with interface components located on other screens. Best regards, Alex [ACtech demo project](https://x.thunkable.com/projects/5d70f93f8a62b4079eedaff2/project/properties/designer/)[Thunkable X Basic Programming Course](http://droidscript.ru/main/title_ds15.php)[Block Reference](http://droidscript.ru/main/statyi/thunkableios_blockhelper.php)[Component Reference](http://droidscript.ru/main/statyi/thunkableios_objects.php)[Bug tracker](https://x.thunkable.com/projects/5dbd5243a77acad1b26f851f/project/properties/designer/)

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:22pm UTC](https://community.thunkable.com/t/project-wide-ie-global-function-defnintions/898117/5 "2024-11-08T12:22:06Z")

</div>


