---
title: "addParameter"
canonical: "https://help.vicon.com/space/Shogun111/13207611/addParameter"
format: markdown
---
# Description

Creates a new dynamic parameter and optionally defines the default value to be used for defining a template skeleton setup.

Parameters are associated with a subject and can be used for markers and/or bones. Parameters can be shared across multiple objects.

## Functional area

Parameters

# Command syntax

## Syntax

|  |
| --- |
| `addParameter parameterName parameterValue(optional)[-onMod string] [-solving]` |

### Arguments

| **Name** | **Type** | **Required** | **Comments** |
| --- | --- | --- | --- |
| `parameterName` | string | Yes | Defines the name of the parameter to be created. |
| `parameterValue` | float | No | Defines the default value of the parameter |

### Flags

| **Name** | **Flag arguments** | **Argument type** | **Exclusive to** | **Comments** |
| --- | --- | --- | --- | --- |
| `onMod` | 1 | string | — | Name of a character module in the scene to add parameters to. |
| `solving` |  |  |  |  |

## Return value

void

## Examples

```plaintext
//Create a parameter called HipLength and set its value to 6.0
addParameter "HipLength" 6.0;
```

# Additional information

## Related commands

- [addStaticParameter](https://vicon-help.atlassian.net/wiki/spaces/Shogun111/pages/13219991)
- [getParameters](https://vicon-help.atlassian.net/wiki/spaces/Shogun111/pages/13208052)
- [hasParameter](https://vicon-help.atlassian.net/wiki/spaces/Shogun111/pages/13208150)
- [listParameters](https://vicon-help.atlassian.net/wiki/spaces/Shogun111/pages/13208186)
- [removeAllParameters](https://vicon-help.atlassian.net/wiki/spaces/Shogun111/pages/13208286)
- [removeParameter](https://vicon-help.atlassian.net/wiki/spaces/Shogun111/pages/13208296)
- [removeUnusedParameters](https://vicon-help.atlassian.net/wiki/spaces/Shogun111/pages/13208300)
- [renameParameter](https://vicon-help.atlassian.net/wiki/spaces/Shogun111/pages/13208302)
- [selectByParameter](https://vicon-help.atlassian.net/wiki/spaces/Shogun111/pages/13208344)
- [setParameter](https://vicon-help.atlassian.net/wiki/spaces/Shogun111/pages/13208482)