# InputMode

Enum in [LineAdvancer](/api/csharp/yarn.unity/yarn.unity.lineadvancer.md)

Inherits from `System.Enum`

## Summary

The type of input that this line advancer responds to.

```csharp
public enum InputMode
{
    InputActions,
    KeyCodes,
    None,
    LegacyInputAxes
}
```

## Members

| Name                                                                                                                                                     | Description                                                                                                                                 |
| -------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| [InputActions](/api/csharp/yarn.unity/yarn.unity.lineadvancer/yarn.unity.lineadvancer.inputmode/yarn.unity.lineadvancer.inputmode.inputactions.md)       | The line advancer responds to Input Actions from the [Unity Input System](https://docs.unity3d.com/Packages/com.unity.inputsystem@latest) . |
| [KeyCodes](/api/csharp/yarn.unity/yarn.unity.lineadvancer/yarn.unity.lineadvancer.inputmode/yarn.unity.lineadvancer.inputmode.keycodes.md)               | The line advancer responds to keypresses on the keyboard.                                                                                   |
| [LegacyInputAxes](/api/csharp/yarn.unity/yarn.unity.lineadvancer/yarn.unity.lineadvancer.inputmode/yarn.unity.lineadvancer.inputmode.legacyinputaxes.md) | The line advancer responds to input from the legacy [Input Manager](https://docs.unity3d.com/Manual/class-InputManager.html) .              |
| [None](/api/csharp/yarn.unity/yarn.unity.lineadvancer/yarn.unity.lineadvancer.inputmode/yarn.unity.lineadvancer.inputmode.none.md)                       | The line advancer does not respond to any input.                                                                                            |


---

# 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://docs.yarnspinner.dev/api/csharp/yarn.unity/yarn.unity.lineadvancer/yarn.unity.lineadvancer.inputmode.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.
