# Script Cooldown

**URL:** <https://qa.fmod.com/t/script-cooldown/20688>\
**Category:** FMOD Studio\
**Created:** [September 23, 2023, 1:34am UTC](https://qa.fmod.com/t/script-cooldown/20688 "2023-09-23T01:34:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lxy1114](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@lxy1114](https://qa.fmod.com/u/lxy1114)\
**Post date:** [September 23, 2023, 1:34am UTC](https://qa.fmod.com/t/script-cooldown/20688/1 "2023-09-23T01:34:21Z")

</div>

I want to add attributes such as Cooldown and priority to the event through the script, but I couldn’t find the corresponding method in the script manual, and I couldn’t find the attribute to modify through dump.  
May I ask what I should do? Thank you.

---

<div class="post-metadata">

**Author:** ![lxy1114](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@lxy1114](https://qa.fmod.com/u/lxy1114)\
**Post date:** [September 25, 2023, 4:29pm UTC](https://qa.fmod.com/t/script-cooldown/20688/2 "2023-09-25T16:29:38Z")

</div>

There is still no answer, can anyone help me study it?

---

<div class="post-metadata">

**Author:** ![Leah\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/leah_fmod/32/3685_2.png) [@Leah\_FMOD](https://qa.fmod.com/u/Leah_FMOD)\
**Post date:** [September 26, 2023, 2:24am UTC](https://qa.fmod.com/t/script-cooldown/20688/3 "2023-09-26T02:24:13Z")

</div>

Hi,

You can find those properties in the event’s `automatableProperties`. For example, assuming you have an event assigned to `var event`:

- `event.automatableProperties.priority` can be assigned to between 0 and 4
- `event.automatableProperties.triggerCooldown` can be assigned to between 0 and 60000
