---
title: "Input System Scripting"
content_type: tutorial
url: "https://learn.unity.com/course/input-system-video-series/tutorial/input-system-scripting?language=en"
language: en
container_type: course
container_title: "Input System Video Series"
container_url: "https://learn.unity.com/course/input-system-video-series.md?language=en&version=6.3"
standalone_markdown_url: "https://learn.unity.com/tutorial/input-system-scripting.md?language=en&version=6.3"
previous_title: "Input Action Editor"
previous_url: "https://learn.unity.com/course/input-system-video-series/tutorial/input-action-editor?language=en&version=6.3"
previous_markdown_url: "https://learn.unity.com/course/input-system-video-series/tutorial/input-action-editor.md?language=en&version=6.3"
next_title: "Mobile controls and touch input"
next_url: "https://learn.unity.com/course/input-system-video-series/tutorial/mobile-controls-and-touch-input?language=en&version=6.3"
next_markdown_url: "https://learn.unity.com/course/input-system-video-series/tutorial/mobile-controls-and-touch-input.md?language=en&version=6.3"
difficulty: beginner
duration_minutes: 10
unity_version:
  - "6.3"
  - "6.0"
supported_unity_versions:
  - name: "6.3"
    url: "https://learn.unity.com/course/input-system-video-series/tutorial/input-system-scripting.md?language=en&version=6.3"
  - name: "6.0"
    url: "https://learn.unity.com/tutorial/input-system-scripting.md?language=en&version=6.0"
last_updated: "2026-09-14T18:50:30.000Z"
---

# Input System Scripting

Use scripting with the Input System to control a third-person character.

In this second tutorial on the Input System, we dive into scripting with the system to control a third-person character. You'll learn how to write code to move and jump the third-person character using an Input System Asset, with support for both gamepad and mouse-and-keyboard inputs. We’ll also add a simple pause menu to demonstrate how Action Maps can be switched dynamically to handle different input contexts.

## Materials

- [Documentation - Input System](https://docs.unity3d.com/Packages/com.unity.inputsystem@1.20/manual/index.html)

## 1. Input System scripting walkthrough

[Video](https://www.youtube.com/watch?v=Cd2Erk_bsRY)
