Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
1 capture
14 Jun 22 - 14 Jun 22
sparklines
Close Help
  • 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

Onmousedrag

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

Bunny83 answered

How to use several colliders in the same object?

Mar 19, '22 collision·onmousedrag

1 Reply

0 Votes

avatar image

mouz13 edited

Rotate a spawned object whith onmousedrag and move it with onmousedown

May 18, '21 programming·rotate object·move an object·onmousedown·onmousedrag

0 Replies

0 Votes

avatar image

daisoto edited

OnMouseDown/Drag/ets is not being called in WebGL build

Mar 18, '21 in Help Room

0 Replies

0 Votes

avatar image

adamarend11 asked

Im trying to grab 2D objects, with an offset and swing them around but nothings working heres my code :

Mar 6, '21 in Help Room

0 Replies

0 Votes

avatar image

unity_s6WaJSdm6dtGzw published

OnMouseEnter and OnMouseExit collide (I guess) and make an animation loop for no reason.

Oct 6, '20 in Help Room

0 Replies

0 Votes

avatar image

MichiAlessandrello published

Unity + Vuforia Drag and drop not working properly

Jul 14, '20 transform.position·vuforia·drag·onmousedrag

0 Replies

0 Votes

avatar image

adambanks314 asked

How to make different actions using OnMouseDrag with two different colliders on one Game Object.

Apr 23, '20 collision·collision detection·collider2d·onmousedown·onmousedrag

0 Replies

0 Votes

avatar image

jaffy25 asked

Dragging to Add GameObjects

Oct 19, '19 gameobject·gameobjects·onmousedrag

0 Replies

0 Votes

avatar image

Pavan Shinde commented

OnMouseDrag() not working ...

Oct 1, '19 onmousedrag

1 Reply

0 Votes

avatar image

snow2405 commented

UI element blocking OnMouseDrag()?

Jul 13, '19 ui·instantiate·raycast·onmousedown·onmousedrag

1 Reply

0 Votes

avatar image

jamesdelson commented

I want to put a limit on the edges of the screen for dragable objects

Jun 14, '19 in Help Room

1 Reply

0 Votes

avatar image

JoniBerg answered

Dragging on First clicking?

Apr 21, '19 in Help Room

1 Reply

0 Votes

avatar image

erthwormsam commented

Two Strange MathF Clamp Issues: The Disabling of OnMouseDrag

Apr 9, '19 mathf.clamp·onmousedrag

2 Replies

1 Votes

avatar image

dabluezpreacher commented

mouse move rotate object question

Feb 22, '19 collider·rotate·onmousedrag

1 Reply

0 Votes

avatar image

KYMVY asked

How to make a moveable lever? (2D)

May 29, '18 unity 2d·drag·how to·onmousedrag·lever

0 Replies

0 Votes

avatar image

adolphina13 asked

OnMouseDrag doesn't wokr.

Mar 17, '18 in Help Room

0 Replies

0 Votes

avatar image

RicardoF1994 edited

Unity2D: OnMouseDrag, OnMouseOver etc. out of a sudden not working for specific GameObject

Feb 4, '18 in Help Room

0 Replies

1 Votes

avatar image

ProbePLayer answered

I want to stop OnMouseDrag() halfway

Jan 28, '18 mouse-drag·onmousedrag

1 Reply

1 Votes

avatar image

Hatsuko answered

Any idea how to merge 2 scripts or code OnMouseDrag() from another script

Oct 26, '17 in Help Room

1 Reply

0 Votes

avatar image

UpheavalEntertainment asked

OnMouseDrag, object getting dragged goes through collider instead of stopping

Jun 17, '17 collision·colliders·drag·through·onmousedrag

0 Replies

0 Votes

avatar image

andycodes commented

Dragging object in constrained area

Apr 13, '17 raycast·position·onmousedrag

1 Reply

0 Votes

avatar image

GreenMatch edited

Problem when dragging objects with mouse

Apr 5, '17 in Help Room

0 Replies

0 Votes

avatar image

Xenocide edited

Is there a way to ensure a cursor position must hover over an object to work in OnMouseDrag?

Dec 12, '16 in Help Room

1 Reply

0 Votes

avatar image

Erwin-Broekhuis published

Camera movement based on OnMouseDrag()

Mar 29, '16 camera·camera movement·onmousedrag

0 Replies

0 Votes

avatar image

Rob2309 published

Drag Object with Mouse Along Y-Axis

Mar 23, '16 onmousedown·input.mouseposition·onmousedrag

1 Reply

0 Votes

avatar image

Lamprey published

How to implement building placement?

Jul 19, '15 c#·instantiate·building·onmousedrag·confirm

0 Replies

0 Votes

avatar image

buckius82 edited

I can't get OnMouseDrag to work With GUI elements.

Jul 17, '15 onmousedrag

2 Replies

0 Votes

avatar image

Sonoshee commented

OnMouseDrag() distance traveled / delta

Jul 12, '15 input·mouse·onmousedrag

3 Replies

4 Votes

avatar image

Yuvaleros published

Starting drag onMouseEnter

Jun 8, '15 touch·drag·onmouseover·onmousedrag

0 Replies

0 Votes

avatar image

hafiz_javed_asghar published

After Drag a GameObject, Animation Changes

Jun 4, '15 onmousedrag

0 Replies

0 Votes

  • 1
  • 2
  • ›

Related Topics

onmousedown drag mouseposition dragging c# touch raycast gameobject javascript collision parent 2d input instantiate collider screentoworldpoint position onmouseover transform.position children moveposition camera rotation onmouseup mouse


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