# How can i get paramters name included in an event?

**URL:** https://qa.fmod.com/t/how-can-i-get-paramters-name-included-in-an-event/20635
**Category:** FMOD Studio
**Tags:** javascript
**Created:** [September 8, 2023, 10:17am UTC](https://qa.fmod.com/t/how-can-i-get-paramters-name-included-in-an-event/20635 "2023-09-08T10:17:48Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Kenken0615](https://avatars.discourse-cdn.com/v4/letter/k/e36b37/32.png) [@Kenken0615](https://qa.fmod.com/u/Kenken0615)
#### Post date: [September 8, 2023, 10:17am UTC](https://qa.fmod.com/t/how-can-i-get-paramters-name-included-in-an-event/20635/1 "2023-09-08T10:17:48Z")

</div>

i use this code to get event paramter, but i can not get paramter name.

```auto
each_event.getParameterPresets();
eventParamterArray.forEach(function(paramter_ins) {
        alert(paramter_ins.name)
});

```

it alert an empty str.  
i also use dump(), but not found.

```auto
Connected to FMOD Studio on ::ffff:127.0.0.1:3663.
(ManagedObject:GameParameter):
id: "{e04fcfc5-bbd6-4403-93fc-cd4e2dd64d6d}",
entity: "GameParameter",
isValid: true,
relationships: (ManagedRelationshipMap:GameParameter),
properties: (ManagedPropertyMap:GameParameter),
isOfType: <function>,
isOfExactType: <function>,
uiModulationDrawerVisible: undefined,
uiTriggerBehaviorDrawerVisible: undefined,
parameterType: 0,
minimum: 0,
maximum: 100,
enumerationLabels: undefined,
isGlobal: false,
isReadOnly: false,
isHeld: false,
initialValue: 100,
velocity: 0,
seekSpeed: 0,
seekSpeedDescending: 0,
seekSpeedAsymmetric: false,
cursorPosition: 0,
isExposedRecursively: true,
automators: [],
modulators: [],
snapshotProperties: [],
customBindings: null,
automationCurves: [(ManagedObject:AutomationCurve)],
commandSounds: [],
selector: null,
profilerGraphs: [],
presetOwner: (ManagedObject:ParameterPreset),
proxies: [(ManagedObject:ParameterProxy)],
parameterConditions: [],
sandboxParameters: [],
getCursorPosition: <function>,
setCursorPosition: <function>,
addAutomator: <function>,
addModulator: <function>,
dump: <function>,
document: <function>,

```

i want to get this paramter name “Player\_Helath”  
i am goal to export a csv file which contains more info.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/d/de62ec759f4bab51d76a8778e82d7ef8daae1a97.png)

Also:  
Is it possiable to get [note] included in an event from script?

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/1/17f553a6cdc74ab380bd3ea4c585f1aacd45757b.png)

Thanks a lot!

---

<div class="post-metadata">

### Author: ![Kenken0615](https://avatars.discourse-cdn.com/v4/letter/k/e36b37/32.png) [@Kenken0615](https://qa.fmod.com/u/Kenken0615)
#### Post date: [September 11, 2023, 3:01am UTC](https://qa.fmod.com/t/how-can-i-get-paramters-name-included-in-an-event/20635/2 "2023-09-11T03:01:34Z")

</div>

Any helps!!!

---

<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 11, 2023, 5:18am UTC](https://qa.fmod.com/t/how-can-i-get-paramters-name-included-in-an-event/20635/3 "2023-09-11T05:18:05Z")

</div>

你好我看你的昵称是中文，我也一直在使用script，可以的话可以家个qq或者微信交流下。

---

<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 12, 2023, 6:50am UTC](https://qa.fmod.com/t/how-can-i-get-paramters-name-included-in-an-event/20635/5 "2023-09-12T06:50:50Z")

</div>

Hi,

If you retrieve a parameter preset with, for example, `var paramPreset = event.getParameterPresets()[0]`, you can access the parameter’s name by using `paramPreset.presetOwner.name`. Retrieving an event’s note is just a matter of accessing `event.note`.
