• 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

Onmousedown

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

robert-allwin2 commented

Onmouseclick on Cube a sphere should be created inside the cube and On second click it shouldn't

Feb 17, '16 in Help Room

1 Reply

0 Votes

avatar image

Dave-Carlile answered

two onmousedown functions

Feb 12, '16 in Help Room

1 Reply

0 Votes

avatar image

pritam.dash published

How to make a GUI window appear on clicking a game object

Feb 12, '16 ongui·onmousedown

0 Replies

0 Votes

avatar image

danny1111 published

Raycast with image over collider

Feb 11, '16 in Help Room

0 Replies

0 Votes

avatar image

elpha01 edited

[3D-5.3-C#] onMouseXXX for Colliders doesn t work

Feb 6, '16 in Help Room

0 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

OgiJr published

What is the problem with this script?

Jan 2, '16 onmousedown·tagging

0 Replies

0 Votes

avatar image

OgiJr commented

Problems with tagging using OnMouseDown()

Dec 26, '15 onmousedown·problem during runtime·tagging

1 Reply

0 Votes

avatar image

phil_me_up answered

How do I test if a certain object was clicked if multiple objects have the same script

Dec 22, '15 onmousedown

1 Reply

0 Votes

avatar image

GrossPaul commented

IsPointerOverGameObject not working with touch input

Mar 9, '22 in Help Room

3 Replies

18 Votes

avatar image

ZefanS commented

OnMouseDown transform problem

Nov 19, '15 in Help Room

0 Replies

0 Votes

avatar image

Le-Pampelmuse commented

Two script using the same box Collider

Nov 16, '15 boxcollider·onmousedown

0 Replies

-1 Votes

avatar image

DoTA_KAMIKADzE answered

What I do wrong ? (OnMouseDown)

Nov 10, '15 in Help Room

1 Reply

0 Votes

avatar image

detroit91 published

How to show vertices on a cube when selected?

Nov 1, '15 vertices·onmousedown

1 Reply

0 Votes

avatar image

Crossroad1000 commented

Change size box collider

Oct 24, '15 in Help Room

1 Reply

1 Votes

avatar image

cgravat1984 published

Need help with my script - Rollover change material and click change material

Oct 19, '15 material·onmousedown·highlight·onmouseenter

0 Replies

0 Votes

avatar image

DiegoSLTS commented

Contrary to "OnMouseDown()"?

Oct 16, '15 onmousedown

2 Replies

0 Votes

avatar image

BramNH commented

Touchscreen Start Button Closed

Oct 15, '15 in Help Room

2 Replies

0 Votes

avatar image

MadDevil commented

Click & Materials

Oct 14, '15 click·onmousedown

1 Reply

0 Votes

avatar image

Nikkimouse commented

Ways to make OnMouseDown (or a single script) differentiate between different colliders/sprites

Sep 22, '15 c#·scripting problem·onmousedown

1 Reply

0 Votes

avatar image

hyruleoflink answered

Problem with touch detection

Sep 16, '15 in Help Room

1 Reply

0 Votes

avatar image

isteffy answered

How to order clickable gameObjects that overlap? (2D)

Sep 11, '15 in Help Room

1 Reply

0 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

Matias7 commented

OnMouseDown to activate gameobjects' child

Sep 8, '15 in Help Room

1 Reply

0 Votes

avatar image

HobbyKid published

Changing the Mouse's Range for OnMouse events

Sep 6, '15 javascript·onmousedown·onmouseenter·onmouseexit

0 Replies

0 Votes

avatar image

getyour411 edited

Only Allow One Click on GameObject?

Sep 4, '15 c#·unity 5·gameobject·onmousedown

2 Replies

0 Votes

avatar image

Owen-Reynolds edited

when OnMouseDown() is on the right timing, it triggers an event. How to achieve it?

Aug 26, '15 in Help Room

2 Replies

0 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

isteffy commented

OnMouseDown() won't work unless gameObject's 2DBox Collider - ‘Is Trigger’ is toggled on/off mid-game in editor.

Aug 24, '15 collision·collider·bug·onmousedown

0 Replies

0 Votes

avatar image

getyour411 commented

OnMouseDown issues!!

Aug 14, '15 enemy·tag·onmousedown

1 Reply

0 Votes

  • »
  • ‹
  • 4
  • 5
  • 6
  • 7
  • 8
  • ›
  • »

Followers

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

c# gameobject collider raycast onmouseup click button mouse gui 2d mouseclick javascript onmousedrag scripting problem touch object camera ui onmouseover guitexture instantiate input mobile android collider2d


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