GetAxis

Tutorial

·

Beginner

·

+0XP

·

5 mins

·

Unity Technologies

GetAxis

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

Languages available:

1. GetAxis


AxisExample


[@portabletext/react] Unknown block type "code", specify a component for it in the `components.types` prop

AxisRawExample


[@portabletext/react] Unknown block type "code", specify a component for it in the `components.types` prop

DualAxisExample


[@portabletext/react] Unknown block type "code", specify a component for it in the `components.types` prop

Complete this tutorial