---
title: "addParameter"
canonical: "https://help.vicon.com/space/Shogun17/13537750/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/Shogun17/pages/13540618)
- [getParameters](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13536597)
- [hasParameter](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13537026)
- [listParameters](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13537060)
- [removeAllParameters](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13536990)
- [removeParameter](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13536948)
- [removeUnusedParameters](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13537010)
- [renameParameter](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13537008)
- [selectByParameter](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13537198)
- [setParameter](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13537126)