---
title: "getParameters"
canonical: "https://help.vicon.com/space/Shogun17/13536597/getParameters"
format: markdown
---
# Description

Returns a list of the names of the parameters of a character.

Parameters are stored on characters and used by bones and constraints. The getParameters command returns a string array of the names of all of the parameter on a character.

By default, the command expects the character to be selected, but `-onMod` can be used to specify the character without having to select it.

Has options for static or dynamic parameters only.

## Functional area

Parameters

# Command syntax

## Syntax

|  |
| --- |
| `getParameters [-onMod string] [-staticOnly] [-dynamicOnly] [-solving]` |

### Arguments

None

### Flags

> Macro (scroll-tablelayout)

| **Name** | **Flag arguments** | **Argument type** | **Exclusive to** | **Comments** |
| --- | --- | --- | --- | --- |
| `onMod` | 1 | string | — | Specifies which character you want to get the parameters of. |
| `staticOnly` |  |  |  |  |
| `dynamicOnly` |  |  |  |  |
| `solving` |  |  |  |  |

> Macro (scroll-pagebreak)

## Return value

string array

Returns a string array of parameter names.

## Examples

```plaintext
// Get a list of all the parameters on the character named Bob.
string $params[] = `getParameters -onMod "Bob"`;
```

# Additional information

## Related commands

- [addParameter](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13537750)
- [getParameter](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13536589)
- [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)