---
title: "Manipulating Objects in AR with Lean Touch"
content_type: tutorial
url: "https://learn.unity.com/tutorial/manipulating-objects-in-ar-with-lean-touch?language=en"
language: en
difficulty: intermediate
duration_minutes: 10
unity_version:
  - "2019.4"
supported_unity_versions:
  - name: "2019.4"
    url: "https://learn.unity.com/tutorial/manipulating-objects-in-ar-with-lean-touch.md?language=en&version=2019.4"
  - name: "2019.3"
    url: "https://learn.unity.com/tutorial/manipulating-objects-in-ar-with-lean-touch.md?language=en&version=2019.3"
  - name: "2019.2"
    url: "https://learn.unity.com/tutorial/manipulating-objects-in-ar-with-lean-touch.md?language=en&version=2019.2"
  - name: "2019.1"
    url: "https://learn.unity.com/tutorial/manipulating-objects-in-ar-with-lean-touch.md?language=en&version=2019.1"
last_updated: "2026-08-04T14:23:30.000Z"
---

# Manipulating Objects in AR with Lean Touch

Use the Lean Touch asset to enable intuitive scaling and rotation of AR scene objects in your existing Unity project.

Lean Touch is an asset available in [the Unity Asset Store](https://assetstore.unity.com/packages/tools/input-management/lean-touch-30111) that makes scaling and rotating objects in AR easy. In this tutorial, we’ll apply the Lean Touch script. We assume that you’re starting this tutorial with an open project that places or loads objects into an AR scene.

## Manipulating Objects in AR with Lean Touch

_This tutorial has been verified using Unity 2019 LTS and Lean Touch v.2.1.8_

Lean Touch, available in [the Unity Asset Store](https://assetstore.unity.com/packages/tools/input-management/lean-touch-30111), makes scaling and rotating objects in AR easy. In this tutorial, we’ll apply the Lean Touch script. We assume that you’re starting this tutorial with an AR-ready project that has at least one pre-placed object that you wish to manipulate in an AR Scene.

1\. Download and import the Lean Touch Asset from the Asset Store.

2\. From the GameObject drop-down, select **Create Empty** to create an empty GameObject in the Scene. Name it _LeanTouch_.

3\. Attach the **Lean Touch** component to the LeanTouch GameObject.

4\. Attach the **Lean Select** component to the LeanTouch GameObject.

5\. Set the Camera field in the Lean Select component to the camera in your Scene (**Figure 01**).


![Figure 01:  Setting the Camera field on the LeanTouch object](https://connect-mediagw.unity.com/h1/20210314/learn/images/9639c225-5e49-46d7-8441-0b7f5283e238_image2.jpg)

6\. Attach the **Lean Finger Down** component to the LeanTouch GameObject.

7\. Open **Show Unused Events** in the Lean Finger Down component and drag the LeanTouch object into the field under **On Finger (LeanFinger)**_._

8\. Set the drop-down to **LeanSelect.SelectScreenPosition** (**Figure 02**).


![Figure 02: Setting the Event for your Lean Finger Down component](https://connect-mediagw.unity.com/h1/20210314/learn/images/47bac8c4-233f-439e-8854-57e9714ad520_image3.jpg)

9\. For any object in your Scene that you want to manipulate, add the following components:

a. Lean Selectable

b. Lean Twist Rotate Axis

c. Lean Pinch Scale

d. Lean Drag Translate

10\. Enable **Deselect On Up** in the Lean Selectable component. This will make sure you are only manipulating one object at a time.

11\. Set the Camera field in the Lean Drag Translate component to the camera in your Scene. This will lock the translation movement to the Scene camera and avoid any movement speed issues (**Figure 03**).


![Figure 03: The completed setup for your in-scene object](https://connect-mediagw.unity.com/h1/20210314/learn/images/8ab45d91-69ff-44ae-a4b4-51afedff94c7_image1.jpg)

12\. Build and deploy the project to your mobile device.

Try tapping and dragging an object in the Scene. Try holding one finger in place on the object while another finger moves away and toward the first to scale the object. Hold one finger in place on the object while another moves in a circle to scale and rotate the object.

## Conclusion

Lean Touch makes interacting with AR objects as natural as interacting with images using the same gestures on mobile devices that have been standard for years.
