# \#function

**URL:** https://community.thunkable.com/tag/function/425.md

[Latest](https://community.thunkable.com/latest.md) · [Categories](https://community.thunkable.com/categories.md) · [Tags](https://community.thunkable.com/tags.md)

---

## [Renaming a function variable does not rename that variable globally](https://community.thunkable.com/t/renaming-a-function-variable-does-not-rename-that-variable-globally/3437340)

<div class="topic-metadata">

**Author:** [@tatiang](https://community.thunkable.com/u/tatiang)\
**Replies:** 1\
**Last updated:** [December 27, 2024, 10:41pm UTC](https://community.thunkable.com/t/renaming-a-function-variable-does-not-rename-that-variable-globally/3437340 "2024-12-27T22:41:49Z")

</div>

When renaming a variable (I added “ƒ” in front of the name) created within a function block, the variable should be renamed in all blocks within the function definition and the Variables drawer. Currently, the renamed va…

---

## [(Solved) How can i turn these functions into list blocks?](https://community.thunkable.com/t/solved-how-can-i-turn-these-functions-into-list-blocks/2880182)

<div class="topic-metadata">

**Author:** [@wulfy\_starr](https://community.thunkable.com/u/wulfy_starr)\
**Replies:** 16\
**Last updated:** [March 10, 2024, 11:56pm UTC](https://community.thunkable.com/t/solved-how-can-i-turn-these-functions-into-list-blocks/2880182 "2024-03-10T23:56:08Z")

</div>

this is the pivot table i am pulling data from: what i have here are these functions that search for the class code and return the “Student Mood Count” from the “Student Mood 2” column: (for example, if i go into the…

---

## [\[Solved\] Variable empty - affect value to globale variable through function](https://community.thunkable.com/t/solved-variable-empty-affect-value-to-globale-variable-through-function/2652310)

<div class="topic-metadata">

**Author:** [@papi-yassinewa](https://community.thunkable.com/u/papi-yassinewa)\
**Replies:** 4\
**Last updated:** [October 19, 2023, 1:05pm UTC](https://community.thunkable.com/t/solved-variable-empty-affect-value-to-globale-variable-through-function/2652310 "2023-10-19T13:05:28Z")

</div>

Hello, I have a problem to affect value to a variable through function, here my blocks with json thx in advance for help!

---

## [Click a Button from a function](https://community.thunkable.com/t/click-a-button-from-a-function/2379658)

<div class="topic-metadata">

**Author:** [@peterjamesleniq](https://community.thunkable.com/u/peterjamesleniq)\
**Replies:** 2\
**Last updated:** [April 30, 2023, 6:33am UTC](https://community.thunkable.com/t/click-a-button-from-a-function/2379658 "2023-04-30T06:33:04Z")

</div>

Is there a component that allows you to click a button from a function. Meaning, if I call a function, is there a component that I can put into that function, that will click the button for me.

---

## [Function parameters in general](https://community.thunkable.com/t/function-parameters-in-general/2340551)

<div class="topic-metadata">

**Author:** [@overshield](https://community.thunkable.com/u/overshield)\
**Replies:** 5\
**Last updated:** [March 24, 2023, 12:15pm UTC](https://community.thunkable.com/t/function-parameters-in-general/2340551 "2023-03-24T12:15:19Z")

</div>

This photo comes from this video I’m just curious why use function parameters at all? Why not avoid the function to begin with and just place the concatenation, as in the screen shot I provided, into the label to sa…

---

## [Creating a function usable across screens](https://community.thunkable.com/t/creating-a-function-usable-across-screens/1765645)

<div class="topic-metadata">

**Author:** [@mperreaultajdcm](https://community.thunkable.com/u/mperreaultajdcm)\
**Replies:** 2\
**Last updated:** [March 3, 2022, 9:56pm UTC](https://community.thunkable.com/t/creating-a-function-usable-across-screens/1765645 "2022-03-03T21:56:39Z")

</div>

I’m teaching my students how to create user creation and login screens from scratch. I want them to learn about Salting and Hashing passwords. I’d like user creation to be on it’s own screen, and login to be its own scr…

---

## [Functions with dropdown for j i list or variables](https://community.thunkable.com/t/functions-with-dropdown-for-j-i-list-or-variables/1663537)

<div class="topic-metadata">

**Author:** [@overshield](https://community.thunkable.com/u/overshield)\
**Replies:** 39\
**Last updated:** [January 4, 2022, 3:10am UTC](https://community.thunkable.com/t/functions-with-dropdown-for-j-i-list-or-variables/1663537 "2022-01-04T03:10:59Z")

</div>

Could we get this for variables please? Where I could create and name a list of functions I have created and call on ‘j function’ for example I don’t have a github or any of that, not sure how all that works or if this…

---

## [How to close topics?](https://community.thunkable.com/t/how-to-close-topics/1624738)

<div class="topic-metadata">

**Author:** [@good-starter432425](https://community.thunkable.com/u/good-starter432425)\
**Replies:** 2\
**Last updated:** [November 19, 2021, 5:18pm UTC](https://community.thunkable.com/t/how-to-close-topics/1624738 "2021-11-19T17:18:30Z")

</div>

how to close a topic that i created?

---

## [How to list functions and choose one at random?](https://community.thunkable.com/t/how-to-list-functions-and-choose-one-at-random/1584247)

<div class="topic-metadata">

**Author:** [@overshield](https://community.thunkable.com/u/overshield)\
**Replies:** 5\
**Last updated:** [October 27, 2021, 6:01pm UTC](https://community.thunkable.com/t/how-to-list-functions-and-choose-one-at-random/1584247 "2021-10-27T18:01:48Z")

</div>

I would like to be able to add certain functions to a list and randomly call one of them Is there a more dynamic way of doing this than my example below?

---

## [My Dataviewer Layouts tab](https://community.thunkable.com/t/my-dataviewer-layouts-tab/1252948)

<div class="topic-metadata">

**Author:** [@Giuseppe\_Geppo\_Catta](https://community.thunkable.com/u/Giuseppe_Geppo_Catta)\
**Replies:** 11\
**Last updated:** [April 30, 2021, 1:45pm UTC](https://community.thunkable.com/t/my-dataviewer-layouts-tab/1252948 "2021-04-30T13:45:24Z")

</div>

I found the fantastic function that allow to create a custom layout for datagrid and datalist. It’s not clear to me if the editor of layouts is active or not. In the thunkable resource page, i can find a “My dataviewer…

---

## [\[Solved\] What is the scope of a function?](https://community.thunkable.com/t/solved-what-is-the-scope-of-a-function/564754)

<div class="topic-metadata">

**Author:** [@Rumesh](https://community.thunkable.com/u/Rumesh)\
**Replies:** 3\
**Last updated:** [May 4, 2020, 4:47pm UTC](https://community.thunkable.com/t/solved-what-is-the-scope-of-a-function/564754 "2020-05-04T16:47:53Z")

</div>

Do the functions work only within the screen that blocks included? or can access across the screens? :face\_with\_raised\_eyebrow: \[ Variables and invisible components can access across the screens \]

---

## [Call function from other screen](https://community.thunkable.com/t/call-function-from-other-screen/487026)

<div class="topic-metadata">

**Author:** [@eng\_ahmed](https://community.thunkable.com/u/eng_ahmed)\
**Replies:** 3\
**Last updated:** [March 7, 2020, 12:03pm UTC](https://community.thunkable.com/t/call-function-from-other-screen/487026 "2020-03-07T12:03:27Z")

</div>

Is thunkable x support calling function that defined in screen1 from screen2? this is important feature that will reduce code lines
