---
title: "removeUnusedParameters"
canonical: "https://help.vicon.com/space/ShogunPost115/276202183/removeUnusedParameters"
format: markdown
---
# Description

Removes unused parameters from the selected character unless `-onMod` option is used to specify a character.

## Functional area

Parameters

# Command syntax

## Syntax

|  |
| --- |
| `removeUnusedParameters [-onMod string] [-solving]` |

### Arguments

None

### Flags

| **Name** | **Flag arguments** | **Argument type** | **Exclusive to** | **Comments** |
| --- | --- | --- | --- | --- |
| `onMod` | 1 | string | — | Defines the character to remove unused parameters from. |
| `solving` |  |  |  |  |

## Return value

void

## Examples

```plaintext
// Remove all unused parameters from the selected character
removeUnusedParameters;
```

> Macro (scroll-pagebreak)

# Additional information

## Related commands

- [addParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost115/pages/276201713)
- [hasParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost115/pages/276206872)
- [listParameters](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost115/pages/276211422)
- [removeAllParameters](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost115/pages/276206721)
- [removeParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost115/pages/276205508)
- [renameParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost115/pages/276202749)
- [setParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost115/pages/276202195)