Unity Courses Drag 2D objects in Unity
Unity

Drag 2D objects in Unity

Nearly all 2D games require you to click or touch to drag objects around the scene.

1 chapter · 5m Beginner Updated 27 Jul 2022 Phil · @FirnoxGames
2D
Free

Free for everyone. No account needed.

Start watching →

What you'll learn

1 Drag 2D objects in Unity - using the mouse to move sprites. ▶ 5 min

Nearly all 2D games require you to click or touch to drag objects around the scene.

In this chapter
  1. Introduction
  2. Per-object drag script
  3. Centrally controlled dragging
Included with this course
Video walkthrough · 5m
</>Annotated source code ↗ · public domain