---
title: "removeUnusedParameters"
canonical: "https://help.vicon.com/space/Shogun17/13537010/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/Shogun17/pages/13537750)
- [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)
- [renameParameter](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13537008)
- [setParameter](https://vicon-help.atlassian.net/wiki/spaces/Shogun17/pages/13537126)