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

> Macro (scroll-tablelayout)

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

### Arguments

None

### Flags

> Macro (scroll-tablelayout)

| 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/ShogunPost121/pages/1253736903)
- [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)
- [renameParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253739810)
- [setParameter](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737311)