• 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

ina asked

RaycastHit only way to do OnMouse events for colliders in Mobile?

Dec 20, '11 mobile·mouse·raycasthit·onmousedown·onmouseover

0 Replies

0 Votes

avatar image

Skatola published

two OnMouseDown function in the same obj, it's possible?

Jan 28, '13 function·onmousedown

4 Replies

0 Votes

avatar image

StartStart answered

Change button to work OnPress instead of OnClick?

Oct 17, '18 in Help Room

1 Reply

1 Votes

avatar image

sharsnik edited

Collider OnMouseDown movement lag

Jun 30, '11 raycast·collider·lag·onmousedown

0 Replies

0 Votes

avatar image

kmeboe commented

Click on Object

Oct 12, '12 rigidbody·drag·onmousedown

2 Replies

0 Votes

avatar image

tiagomelobr published

Call parent guitexture mouse events

Oct 10, '11 guitexture·events·onmousedown

0 Replies

0 Votes

avatar image

Crucible1 commented

Do something when there is no mouse click

Jan 20, '16 c#·mouse·onmousedown

1 Reply

0 Votes

avatar image

praveee answered

Rotate a sprite on mouse click

Aug 25, '14 onmousedown

2 Replies

0 Votes

avatar image

clunk47 commented

Accessing colliders, in if statement

Jul 22, '13 javascript·raycast·collider·onmousedown

2 Replies

1 Votes

avatar image

CRAFT commented

Samsung 42" Touch Screen: Touch response issues

Jan 8, '14 input·touch·screen·guitexture·onmousedown

1 Reply

0 Votes

avatar image

Bunny83 commented

Position problem, Make my own Button

May 14, '12 position·onmousedown·onmouseup

2 Replies

0 Votes

avatar image

Alex Sterling published

how to change textures of GUI.SelectionGrid with a click

Sep 9, '11 texture·onmousedown·selectiongrid

0 Replies

0 Votes

avatar image

ExplodingCookie commented

All i want to do is click gameobject, play sound & destroy object as to pickup an item

Mar 28, '15 audio·destroy·onmousedown

1 Reply

0 Votes

avatar image

robertbu commented

OnMouseDown and GUI function

Dec 17, '13 javascript·ongui·onmousedown·argumentexception

0 Replies

0 Votes

avatar image

Thierry_J commented

OnMouse down does not work with a mesh collider

Apr 7, '16 onmousedown·mesh collider

1 Reply

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

Qasem2014 commented

Animation.CrossFade waiting for transition to finish

Jan 4, '15 animation·animator·onmousedown·crossfade

1 Reply

0 Votes

avatar image

Suraci edited

Random mesh chooser + log question

May 3, '12 random·onmousedown·log

1 Reply

0 Votes

avatar image

getyour411 edited

OnMouseDown If-statement Question

Feb 15, '14 if-statements·onmousedown·multiple objects

3 Replies

0 Votes

avatar image

felixfors commented

Reverse Animtion On clicking text.

Feb 11, '13 animation·onmousedown

2 Replies

0 Votes

avatar image

dibonaj asked

Question about raycasts and OnMouse functions

Aug 4, '11 raycast·onmousedown·onmouseup

0 Replies

0 Votes

avatar image

Oribow answered

How to disable an object by clicking outside anywhere else?

May 8, '16 gameobject·trigger·game·setactive·onmousedown

1 Reply

0 Votes

avatar image

Cherno commented

Popup Textures for game objects

Oct 13, '13 onmousedown·click objects

1 Reply

0 Votes

avatar image

Matias7 commented

OnMouseDown to activate gameobjects' child

Sep 8, '15 in Help Room

1 Reply

0 Votes

avatar image

Wolfram commented

why the unity3d's OnMouseDown method lose efficacy sometime?

Feb 4, '13 mouse·onmousedown·clickable

0 Replies

0 Votes

avatar image

OmarAlhaddad answered

Click but not drag

Feb 16, '13 drag·click·onmousedown

1 Reply

0 Votes

avatar image

Bunny83 edited

Help with class issues!

Apr 17, '11 classes·onmousedown·id

1 Reply

1 Votes

avatar image

mchts commented

prevent OnMousedown to trigger when 2 objects overlapping

Mar 26, '19 c#·ui·onmousedown·world space

1 Reply

0 Votes

avatar image

funnyMonkey edited

Why is OnMouseDown only working if i click outside of unity then click the object?

Aug 29, '12 c#·onmousedown

0 Replies

0 Votes

avatar image

awesomebuddy10 commented

How to create a score manager script involving awarding points from multiple objects?

Apr 4, '19 scripting problem·score·onmousedown·score system

2 Replies

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