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

> 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/ShogunPost120/pages/1043038620)
- [getParameters](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost120/pages/1043040022)
- [hasParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost120/pages/1043038861)
- [listParameters](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost120/pages/1043038565)
- [removeAllParameters](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost120/pages/1043039453)
- [removeParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost120/pages/1043040434)
- [removeUnusedParameters](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost120/pages/1043040326)
- [renameParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost120/pages/1043039022)
- [selectByParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost120/pages/1043040229)
- [setParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost120/pages/1043039749)