Unity Restrict 2D Object Dragging to the Screen in Unity Chapter 1
CHAPTER 1 OF 1

Restrict 2D object dragging to the screen in Unity

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