• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

Dragging

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

Nihal37-37 published

UI button mobile - want a button drag to register as a click

Jul 10, '22 ui·button·button trigger events·dragging·buttonstates

0 Replies

0 Votes

avatar image

Sohaibkhan99 answered

How can I drag a 2D object anywhere on the screen with the x axis? (touch)

Jul 4, '22 2d·dragging·drag objects·draggable

2 Replies

0 Votes

avatar image

tormentoarmagedoom commented

Prevent object from jumping to center point when dragging starts

Jun 23, '22 c#·unity 5·dragging·pointer

2 Replies

0 Votes

avatar image

The_ZayNepz_Guy commented

How to drag around an object and making it collide with other object 2D

Jun 13, '22 2d game·dragging·collsion·draggable

2 Replies

0 Votes

avatar image

Babster commented

Need to prevent Click triggered when scrolling

Jun 2, '22 in Help Room

1 Reply

1 Votes

avatar image

Yaroslab asked

rotate the object with both fingers at the same time

Feb 13, '22 rotation·eventsystem·touch controls·touchscreen·dragging

0 Replies

0 Votes

avatar image

Eno-Khaon answered

Making scrollview single-direction while allow dragging parent in other diration

Sep 3, '21 input·scrollview·dragging·scroll view

2 Replies

0 Votes

avatar image

TriumphST edited

Sorting Layers affecting colliders for OnDrag events

Aug 20, '21 colliders·dragging·sorting layers

0 Replies

0 Votes

avatar image

siddharth3322 asked

Rotate Bar Based on Touch Drag

Aug 3, '21 rotation·physics2d·touch controls·boxcollider2d·dragging

0 Replies

0 Votes

avatar image

MSachs asked

Dragging an UI object but keep it going after letting go?

Jul 22, '21 drag·dragging·momentum

0 Replies

0 Votes

avatar image

MikeyPB edited

Why is my first touch interpreted as a mouse click?

May 26, '21 in Help Room

0 Replies

0 Votes

avatar image

Rchd answered

Need Help on Obj Movement via Mouse (particular physics rulles)

Apr 7, '21 movement·raycast·2d game·physics2d·dragging

1 Reply

0 Votes

avatar image

zwennesm commented

Drag item from inventory and follow mouse position

Mar 23, '21 in Help Room

0 Replies

0 Votes

avatar image

Loles edited

Start OnDrag() from script

Mar 1, '21 in Help Room

0 Replies

1 Votes

avatar image

Matiasbru asked

How can I add constraints to a Rect Transform position?

Feb 3, '21 ui·ui image·dragging·constraints·draggable

0 Replies

0 Votes

avatar image

taintedsushi asked

Using mobile touch to push objects with OnTrigger2D Collider?

Jan 2, '21 in Help Room

0 Replies

0 Votes

avatar image

embql published

SteamVR Slider won't drag using VR Controller,SteamVR-controller can't drag Slider handle

Dec 11, '20 ui·vr·slider·eventsystem·dragging

0 Replies

0 Votes

avatar image

qsp18 answered

How can i implement a scroll speed for a scroll view/rect so that my content travels slower when I drag?

Dec 8, '20 drag·scrollview·scrolling·dragging·scroll view

1 Reply

0 Votes

avatar image

Capgar answered

"Image.raycastTarget = false" not consistent between PC and Android

Dec 7, '20 android·user interface·worldspace·dragging·screenspace

1 Reply

0 Votes

avatar image

sycr99 answered

How Can I Drag the Object With Touch ? (Mobile)

Nov 11, '20 object·mobile·touch·drag·dragging

4 Replies

0 Votes

avatar image

KwarkZ0r asked

How do drag a scene item around with the same snapping like when you drag it from a prefab into the scene

Oct 19, '20 in Help Room

0 Replies

0 Votes

avatar image

Content1of_akind answered

MathF.clamp not working!

Oct 7, '20 in Help Room

1 Reply

0 Votes

avatar image

streeetwalker commented

Drag object from a point in screen to a point in world space

Sep 30, '20 in Help Room

2 Replies

0 Votes

avatar image

gamingstudio17 commented

Making SpringJoint2D's spring force instantaneous

Sep 11, '20 physics·dragging·springjoint

1 Reply

0 Votes

avatar image

quizcanners commented

Is there a way to check if Scroll Rect is currently being dragged without using events?

Sep 3, '20 ui·scrollview·dragging

2 Replies

0 Votes

avatar image

unity_N2KDSek8n06ERA asked

How can I smoothly rotate around the edge of a cube?

Aug 18, '20 raycast·dragging

0 Replies

0 Votes

avatar image

unity_HOGvjKFOT88PFw asked

The more I drag an object the higher the pitch gets?

Jun 18, '20 in Help Room

0 Replies

0 Votes

avatar image

Mafuhri published

Collision while dragging in Canvas with IDragHandler

Jun 5, '20 collision·collision detection·dragging·drag and drop·drag objects

0 Replies

0 Votes

avatar image

StarShade88 answered

Weird issue with UI and Sprites?

Apr 24, '20 sprites·drag·dragging

1 Reply

0 Votes

avatar image

KOORY edited

OnBeginDrag, OnEndDrag not being called for unknown reasons

Apr 19, '20 drag·drag-and-drop·dragging·draggable

1 Reply

1 Votes

  • 1
  • 2
  • 3
  • 4
  • 5
  • ›
  • »

Followers

avatar image avatar image

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Related Topics

drag c# touch drag-and-drop ui mouse android drag objects gameobject drag and drop camera rotation scrollview input rigidbody eventsystem touchscreen 2d raycast touch controls 2d game unity 5 collider mobile mouseposition


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges