Supported Input

To record & track.

For universal use, set Interaction → Manually Call and Step Start → Manually Call. Now you can bind a step to any type of input that you have implemented yourself, using a manual call from a script.

Input is provided for different types of targets: 3D/2D/UI or Any Target (anywhere). Currently, the following types of interactions and input are supported:

Input
Description
Platform Support
Generated default visual

Manually Call

Called from a script or by a button (see Manual Step Calls)

Any platform

Set manually

Click

Left mouse click or touch

PC & Mobile

UI Pointer + UI Hover + UI Graphic Text

RightClick

Right mouse button click

PC Only

UI Pointer Mouse + UI Hover

DoubleClick

Double left mouse click or double tap

PC & Mobile

UI Pointer Mouse + UI Hover

DoubleRightClick

Double right mouse click

PC Only

UI Pointer Mouse + UI Hover

Hold

Long press of the left mouse button or hold

PC & Mobile

UI Pointer Mouse + UI Hover

RightHold

Long press of the right mouse button

PC Only

UI Pointer Mouse + UI Hover

Drag

Long press of the left mouse button or hold with object movement

PC & Mobile

UI Pointer Mouse + UI Hover

RightDrag

Long press of the right mouse button with object movement

PC Only

UI Pointer Mouse + UI Hover

DragAndDrop*

Drag and drop element

PC & Mobile

UI Pointer + UI Hover + UI Graphic Text

ScrollUp

Scroll up using mouse wheel

PC Only

UI Graphic Text

ScrollDown

Scroll down using mouse wheel

PC Only

UI Graphic Text

KeyCode

Pressing a keyboard key

PC Only

UI Graphic Text

KeyCodeHold

Holding a keyboard key

PC Only

UI Graphic Text

SwipeUp

Swipe up with a mouse or touch

PC & Mobile

UI Graphic Swipe Circle

SwipeDown

Swipe down with a mouse or touch

PC & Mobile

UI Graphic Swipe Circle

SwipeLeft

Swipe left with a mouse or touch

PC & Mobile

UI Graphic Swipe Circle

SwipeRight

Swipe right with a mouse or touch

PC & Mobile

UI Graphic Swipe Circle

Middle Click

Middle mouse button click

PC Only

UI Pointer Mouse + UI Hover

Middle Hold

Middle mouse button hold

PC Only

UI Pointer Mouse + UI Hover

Pinch In

Pinch in gesture for zooming out

Mobile Only

UI Graphic Text

Pinch Out

Pinch out gesture for zooming in

Mobile Only

UI Graphic Text

Pinch Rotate

Gesture for rotating

Mobile Only

UI Graphic Text

* For the Drag and Drop interaction, two scenarios are possible:

Project logic
In recording
In playback

If, during the movement, the held object becomes non-blocking for raycasts, and the object behind it can be recognized.

Both the initial and the final object are recognized. The interaction is considered a DragAndDrop.

The player will need to drag one object onto another.

If, during the movement, the held object does not become transparent for raycasts, and objects behind it cannot be recognized.

Only the initial object is recognized - that it was moved and released. The interaction is considered a Drag; however, it can be set to Drag & Drop manually.

The player will need to drag one object anywhere and release it (while the drag is performed already during the movement phase, even without release).

Old and New Input System

By default, the system is set up for the old Input Manager. To fully switch to the new one, follow these steps:

  • Open Edit → Project Settings → Player → Configuration, and set Active Input Handling to New if is not already selected.

  • Install the Input System Unity package if it is not already installed.

  • Set EventSystem to InputSystemUIInputModule if it is not already used.

  • Set inputSystemType to New in the InputController component.

Last updated