# Retrieve parameter in homey script

**URL:** <https://community.homey.app/t/retrieve-parameter-in-homey-script/57419>\
**Category:** Developers\
**Created:** [December 29, 2021, 7:01pm UTC](https://community.homey.app/t/retrieve-parameter-in-homey-script/57419 "2021-12-29T19:01:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christo1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/christo1/32/17051_2.png) [@Christo1](https://community.homey.app/u/Christo1)\
**Post date:** [December 29, 2021, 7:01pm UTC](https://community.homey.app/t/retrieve-parameter-in-homey-script/57419/1 "2021-12-29T19:01:31Z")

</div>

Hello,  
I just discovered Homey Script, it’s super useful!  
From a Flow, it is possible to call a script with a parameter.  
Do you know how to retrieve this parameter from the script that has been called?  
Thanks in advance for your help.  
Christ

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [December 29, 2021, 7:03pm UTC](https://community.homey.app/t/retrieve-parameter-in-homey-script/57419/2 "2021-12-29T19:03:43Z")

</div>

> [@Christo1](#):
>
> Do you know how to retrieve this parameter from the script that has been called?

[`args`](https://github.com/athombv/com.athom.homeyscript#args---array)

---

<div class="post-metadata">

**Author:** ![Christo1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/christo1/32/17051_2.png) [@Christo1](https://community.homey.app/u/Christo1)\
**Post date:** [December 29, 2021, 8:44pm UTC](https://community.homey.app/t/retrieve-parameter-in-homey-script/57419/3 "2021-12-29T20:44:48Z")

</div>

Thanks 🙂
