• 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

Mousedown

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

Talmagett_Games answered

OnMouseDown over multiple Colliders.

Feb 24, '21 rendering·collider2d·sorting layers·mousedown

1 Reply

0 Votes

avatar image

Verilyzed asked

OnMouseDown() tracking bad at 3D box collider

Jul 4, '20 rigidbody·velocity·gravity·cube·mousedown

0 Replies

0 Votes

avatar image

hanaan328 commented

Trying to trigger multiple objects by holding down the mouse with OnMouseDown

Apr 21, '20 c#·input·mouse·mouse-drag·mousedown

1 Reply

0 Votes

avatar image

XraZerTR edited

MouseDown Triggered by Another GameObject

Apr 12, '20 gameobject·trigger·mousedown

1 Reply

0 Votes

avatar image

michaellux asked

Why the OnMouseDown() event on Rigidbody does not fire?

Nov 18, '19 mouse·rigidbody2d·physics2d·mousedown·sleeping

0 Replies

0 Votes

avatar image

Imamul125 asked

a simple question related to Input.GetMouseDown(0)

Nov 1, '18 in Help Room

0 Replies

0 Votes

avatar image

Jaze_ edited

Cannot set currentSelectedObject in OnMouseDown

Oct 24, '18 scripting problem·mousedown

0 Replies

0 Votes

avatar image

Starks72 asked

How to change the material color of an Instatiated prefab when the player enters the collision area and presses a button?

Apr 22, '18 collision·renderer·if-statements·color change·mousedown

0 Replies

0 Votes

avatar image

kwalkerk asked

Build Rectangle in code from two GameObjects

Apr 2, '18 in Help Room

0 Replies

0 Votes

avatar image

Bohemond answered

How can I click on another object in script ?

Aug 21, '17 in Help Room

1 Reply

0 Votes

avatar image

PizzaPie commented

Transition between levels using 2d colider works once but not repeatidly.

May 7, '17 c#·collider2d·scene-loading·scene-switching·mousedown

1 Reply

0 Votes

avatar image

Bren0831 published

onmousedown issues

Mar 21, '17 mousedown

1 Reply

0 Votes

avatar image

anonimzwx commented

How can i detect event Mouse Down or Mouse Up on function OnDrawGizmos? (C# script)

Dec 15, '16 c#·mouse·gizmos·mousedown

1 Reply

0 Votes

avatar image

Jeeva3m asked

How to set Minimum and Maximum angles on Drag to Rotate Gameobject ??

Oct 19, '16 c#·gameobject·angle·mouse-drag·mousedown

0 Replies

0 Votes

avatar image

camlam999 commented

Detect mouse down on multiple objects from single script?

Oct 8, '16 in Help Room

1 Reply

0 Votes

avatar image

jonahsrocket asked

Fade in animation

Sep 9, '16 in Help Room

0 Replies

0 Votes

avatar image

jonahsrocket edited

I want sound only on a clicked area

Aug 28, '16 in Help Room

2 Replies

0 Votes

avatar image

Pugatboss commented

How to set a gameobject with a mouse click

May 29, '16 gameobject·mousedown

1 Reply

0 Votes

avatar image

cmpcmurp published

Rotating object breaks limitations/Bounds

Apr 19, '16 unity 5·rotation·update·rotatearound·mousedown

0 Replies

0 Votes

avatar image

chas02068909 published

Control my character with mouse click

Feb 25, '16 in Help Room

0 Replies

0 Votes

avatar image

itsharshdeep commented

Two Colliders in One GameObject

Feb 7, '16 in Help Room

1 Reply

0 Votes

avatar image

callen answered

Use 3D Object with UI "Button" Script?

Dec 10, '15 button·trigger·mousedown

1 Reply

0 Votes

avatar image

Bunny83 answered

Event.mouseDown not working

Dec 5, '15 event·mousedown

1 Reply

1 Votes

avatar image

cgravat1984 published

Hide GUI Label when click in open space or on other objects

Oct 16, '15 object·hide·gui.label·mousedown

1 Reply

0 Votes

avatar image

tucna commented

Raycasting vs. events

Oct 6, '15 performance·raycasting·mousedown

0 Replies

0 Votes

avatar image

MadDevil answered

Change color of object on and off with click

Oct 6, '15 in Help Room

1 Reply

0 Votes

avatar image

lilBernier answered

Double Clicking mouse

Sep 1, '15 in Help Room

1 Reply

0 Votes

avatar image

$$anonymous$$ published

Too much mousedown because of laptop touchpad?

Jul 25, '15 mousedown

0 Replies

0 Votes

avatar image

uanmanarmy commented

How to make an object appear only when I click and not when I drag

Mar 20, '15 getmousebuttondown·mousedrag·mousedown·getmousebutton

2 Replies

0 Votes

avatar image

rob5300 commented

GUI Testure Button Swap on MouseDown

Dec 18, '14 gui-button·buttonstates·mousedown·gui texture

0 Replies

0 Votes

  • 1
  • 2
  • ›

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Related Topics

mousedrag c# mouse gameobject click input collider javascript mouse-drag button animation mouseposition raycast object collider2d angle touch trigger 2d unity 5 gui charactercontroller velocity physics drag


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