# RemoveModifier

*void* **RemoveModifier**(*KeyCode* **modifierKey**)\
\&#xNAN;*void* **RemoveModifier**(*string* **modifier**)

## Parameters

**modifierKey**: The KeyCode of the key to stop using as a modifier.\
**modifier**: The string name of the key to stop using as a modifier.

## Description

Removes `modifier` or `modifierKey` from being used as a modifier.

**Note that a modifier key cannot be used as a standalone input key**. See [Using Modifier Keys](/cinput-reference-manual/using-cinput/setting-up-the-default-inputs/using-modifier-keys.md) for more details. This function allows the key to be used again for normal inputs.

## Example


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cmonkeys.gitbook.io/cinput-reference-manual/script-reference/methods/removemodifier.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
