• 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

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

GrossPaul commented

IsPointerOverGameObject not working with touch input

Mar 9, '22 in Help Room

3 Replies

18 Votes

avatar image

saravanan-P commented

How to select an ui image with mouse click and touch?

Jun 22, '15 ui image·touch controls·onmousedown

1 Reply

1 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

eric1254 commented

OnMouseDown to return object name

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

3 Replies

1 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 edited

how do an action onclick an object?

Apr 5, '13 object·click·onmousedown·actions·actionscript

3 Replies

0 Votes

avatar image

wilkinvasquez commented

void OnMouseDown for mobile?

Nov 17, '21 onmousedown

6 Replies

0 Votes

avatar image

Hikaros commented

Rotate Object 180º OnClick

Jul 2, '14 c#·gameobject·rotate·memory·onmousedown

3 Replies

1 Votes

avatar image

cregox commented

OnMouse Event Handlers Might Impact Performance - Mobile

Nov 18, '14 onmousedown·mobileoptimization

2 Replies

2 Votes

avatar image

paulus51 published

Setting GameObject as target in another script

Jan 6, '13 target·onmousedown

2 Replies

0 Votes

avatar image

lordlycastle commented

Disable all mouse click event in script

Apr 8, '15 mouseclick·onmousedown

2 Replies

0 Votes

avatar image

LeChuck_42 commented

OnMouseDown work through UI elements

Oct 13, '21 in Help Room

3 Replies

0 Votes

avatar image

mmciver edited

Object appear and disappear Code

Feb 19, '17 in Help Room

2 Replies

1 Votes

avatar image

justin_iSO edited

How to Rotate a game object towards the mouse click

Mar 8, '13 rotation axis·onmousedown·mouse position

3 Replies

0 Votes

avatar image

alee26 commented

Hide/show GUI Buion

Aug 26, '12 javascript·gui·button·onmousedown·disappear

1 Reply

0 Votes

avatar image

Bunny83 answered

Can I use OnMouseDown for touch input? C# Nexus

Feb 7, '13 c#·touch·touchscreen·onmousedown·nexus

2 Replies

0 Votes

avatar image

aldonaletto commented

How to change sphere color when clicked?

Sep 9, '13 material·color·onmousedown

2 Replies

0 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

ocimum commented

highlight object color

Oct 19, '15 color·onmousedown·highlight

3 Replies

1 Votes

avatar image

AlejandroBoss10 commented

OnMouseDown with Tags

Aug 25, '20 playerprefs·tags·int·selection·onmousedown

1 Reply

0 Votes

avatar image

hexagonius answered

OnMouseDown Problem With Colliders

Nov 14, '14 c#·colliders·onmousedown

3 Replies

0 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

Eowyn27 edited

How do I move the camera to another object in the scene on mouse down?

Jan 7, '14 c#·camera·transform·object·onmousedown

1 Reply

0 Votes

avatar image

sethuraj commented

True false value mixed up in onUpdate

Oct 28, '13 onmousedown

0 Replies

0 Votes

avatar image

danilocjr commented

OnMouseDown w/ Multiple Cameras Doesn't Work Right

Aug 10, '18 camera·onmousedown

4 Replies

1 Votes

avatar image

ionside commented

Disable mouse click on gameObject

Feb 7, '17 in Help Room

1 Reply

0 Votes

avatar image

Bill 2 answered

Mouse down on GUIButton

Oct 29, '11 onmousedown·gui.button

3 Replies

1 Votes

avatar image

Bunny83 commented

OnMouseDown

Mar 28, '12 gui·onmousedown·onmouseenter·onmouseup·onmouseexit

2 Replies

0 Votes

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

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