Unity Learn home
View Tutorial Content

GetAxis

Tutorial
Beginner
+10 XP
5 Mins
(1938)
Overview
Summary
How to "get axis" based input for your games in Unity and how these axes can be modified with the Input manager
This tutorial is included in the Beginner Scripting project.
Previous: GetButton and GetKey
Next: OnMouseDown
Select your Unity version
Last updated: November 17, 2023
2019.3
2019.2
2019.1
2018.4
2018.3
2018.2
2018.1
2017.4
2017.3
2017.2
2017.1
5.x
4.x
Language
English
Also included in
GetAxis