• 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

Fixes in upcoming releases of Unity Answers

Using a good tone of voice when replying to posts

Requests for new tags/topics

How to use the META space

How to use the Moderator space

Questions in topic: onmousedown

  • Unanswered Questions
  • Recommended Questions
Once you sign in you will be able to subscribe for any updates here
avatar image

GrossPaul commented

IsPointerOverGameObject not working with touch input

Mar 9, '22 in Help Room

3 Replies

18 Votes

avatar image

nabilzaman1 commented

OnMouseDown not firing?

Feb 25, '22 onmousedown

18 Replies

9 Votes

avatar image

youblistermypaint edited

OnMouseDown alternative for Mobile

Aug 12, '15 android·mobile·click·onmousedown

5 Replies

5 Votes

avatar image

unimechanic converted comment to answer

How to get the camera responsible for OnMouseDown()?

Aug 13, '14 camera·onmousedown·callback

1 Reply

4 Votes

avatar image

DientesDeCheto published

How to: Click top Object of 2 overlapping objects (2D)

Jan 7, '16 layers·click·onmousedown·z-axis·onmouseup

1 Reply

4 Votes

avatar image

guetta18 commented

Check if a button is NOT pressed?

Aug 5, '18 gui·button·onmousedown

3 Replies

2 Votes

avatar image

robertbu commented

Clickable area problem?

Jun 5, '13 collider·onmousedown·clickable

0 Replies

2 Votes

avatar image

cregox commented

OnMouse Event Handlers Might Impact Performance - Mobile

Nov 18, '14 onmousedown·mobileoptimization

2 Replies

2 Votes

avatar image

lionelmarr commented

UI Image and OnMouseDown not working

Jul 14, '20 c#·screen·ui image·onmousedown·application.quit

3 Replies

2 Votes

avatar image

vanderFeest answered

New Input System OnMouseDown() Alternative

Oct 14, '20 input·onmousedown

2 Replies

2 Votes

avatar image

eric1254 commented

OnMouseDown to return object name

Jan 25, '14 gameobject·raycast·onmousedown·name

3 Replies

1 Votes

avatar image

Pete asked

Pass Clicks Through Camera

Jul 28, '10 camera·rendertexture·click·onmousedown·passthrough

2 Replies

1 Votes

avatar image

OmegaVemon asked

OnMouseDown() cube face?

Nov 27, '10 axis·cube·onmousedown·face

1 Reply

1 Votes

avatar image

dweeda asked

OnMouseDown() not called on child object collider

Dec 29, '10 collider·child·onmousedown·raycastall

2 Replies

1 Votes

avatar image

spaceshooter asked

Passing OnMouseDown to other Colliders

Feb 14, '11 collision·onmousedown

2 Replies

1 Votes

avatar image

ocimum commented

highlight object color

Oct 19, '15 color·onmousedown·highlight

3 Replies

1 Votes

avatar image

FlintCLeaver asked

OnMouseOver() OnMouseDown() button raycast help

Mar 21, '11 gui·button·colliders·onmousedown·onmouseover

1 Reply

1 Votes

avatar image

Earth-O-Matic asked

Adding Force with a GUI button

Mar 21, '11 gui·physics·button·addforce·onmousedown

5 Replies

1 Votes

avatar image

Bunny83 edited

Help with class issues!

Apr 17, '11 classes·onmousedown·id

1 Reply

1 Votes

avatar image

Delete commented

OnMouseDown() inconsistent behavior

Jul 20, '11 onmousedown

1 Reply

1 Votes

avatar image

Bill 2 answered

Mouse down on GUIButton

Oct 29, '11 onmousedown·gui.button

3 Replies

1 Votes

avatar image

BerggreenDK answered

OnMouseDown on what? Camera Movement Help.

Sep 27, '11 camera·javascript·onmousedown·orbit

1 Reply

1 Votes

avatar image

danilocjr commented

OnMouseDown w/ Multiple Cameras Doesn't Work Right

Aug 10, '18 camera·onmousedown

4 Replies

1 Votes

avatar image

meslin answered

Mouse Click Dead Zone at Center of Camera View

May 1, '12 camera·buttons·onmousedown

2 Replies

1 Votes

avatar image

DarKKendO published

OnMouseDown not working when deployed

Jun 17, '12 not working·onmousedown

2 Replies

1 Votes

avatar image

aldonaletto converted answer to comment

Adding script to Gui Texture

May 4, '12 buttons·guitexture·onmousedown·attach

1 Reply

1 Votes

avatar image

catwoman answered

OnMouseDown: instantiate a prefab and keep it dragged

Nov 1, '12 instantiate·mouse·drag·onmousedown

2 Replies

1 Votes

avatar image

tanveer19 commented

Why does OnMouse work with android remote?

Apr 23, '14 android·onmousedown·remote·monobehavior

2 Replies

1 Votes

avatar image

primus88 commented

How can I call OnMouse functions on a specific collider?

May 30, '13 collider·onmousedown·onmouseup·onmouse

2 Replies

1 Votes

avatar image

danilocjr commented

OnMouseDown with two camera, how can I make it work?

Aug 10, '18 camera·onmousedown

1 Reply

1 Votes

  • 1
  • 2
  • ›

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.

Follow This Topic

Follow This Topic

Follow by RSS

1 Person is following this topic.

avatar image

Popular Topics

c# animation android unity 5 camera 2d rotation javascript scripting problem collision ui gui error shader movement gameobject physics rigidbody editor ios texture networking raycast instantiate collider transform terrain mesh prefab input
View all

Recent Badges

  • Famous Question   Hoshahan
  • Popular Question   SomeRandomUnityDev10
  • Popular Question   Frix
  • Famous Question   sotirosn
  • Notable Question   amer-palo
  • Popular Question   xXDurzoXx
  • Notable Question   MrJBRPG
  • Famous Question   N00MKRAD
  • Famous Question   A_Lego
  • Notable Question   AngeloDon


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