---
title: "addParameter"
canonical: "https://help.vicon.com/space/ShogunPost121/1253736903/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

> Macro (scroll-tablelayout)

|  |
| --- |
| `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

> Macro (scroll-tablelayout)

| 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

> Macro (scroll-pagebreak)

## 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/ShogunPost121/pages/1253737666)
- [getParameters](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737369)
- [hasParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253738347)
- [listParameters](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253738291)
- [removeAllParameters](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253738025)
- [removeParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253739919)
- [removeUnusedParameters](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253736542)
- [renameParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253739810)
- [selectByParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253738593)
- [setParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737311)