• 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

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

valim published

How can I prevent an invisible collider from intercepting an OnMouseDown() event?

Jan 4, '14 collider·event·onmousedown

2 Replies

0 Votes

avatar image

adnirjhar answered

Having player object always snap to mouse position

Jan 1, '14 mouseposition·onmousedown·screentoworldpoint·worldtoscreenpoint·onmousedrag

1 Reply

0 Votes

avatar image

J-R-Wood published

How do I instantiate certain objects to appear in a specific spot?

Jan 26, '14 c#·instantiate·prefab·object·onmousedown

3 Replies

0 Votes

avatar image

Eowyn27 commented

How do I make onMouseDown work for OnGUI in C#?

Dec 31, '13 c#·ongui·onmousedown·label·gui.box

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

Eowyn27 commented

How do I make my textlabel stay after the user clicks on a structure?

Dec 17, '13 javascript·onmousedown·textarea

1 Reply

0 Votes

avatar image

zeh edited

OnMouseDown works fine for iOS

Sep 23, '14 ios·touch·onmousedown·tap

2 Replies

1 Votes

avatar image

Eowyn27 edited

How do I enlarge/zoom an object onMouseDown/Click?

Dec 10, '13 c#·selection·onmousedown

1 Reply

0 Votes

avatar image

hollym16 answered

Conflicting Box Colliders

Nov 28, '13 gameobject·setactive·boxcollider·onmousedown·click and drag

0 Replies

0 Votes

avatar image

zohra published

removing chracter

Nov 12, '13 onmousedown

0 Replies

0 Votes

avatar image

sethuraj commented

True false value mixed up in onUpdate

Oct 28, '13 onmousedown

0 Replies

0 Votes

avatar image

Cherno commented

Popup Textures for game objects

Oct 13, '13 onmousedown·click objects

1 Reply

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

sdgd edited

OnMouseDown increase number on GUI Text

Aug 27, '13 guitext·onmousedown·increase

0 Replies

0 Votes

avatar image

lalamax3d answered

character with multiple areas clickable.. issues

Aug 9, '13 collider·onmousedown

1 Reply

0 Votes

avatar image

daville commented

Disable Unity 4.x OnMouseDown on Mobile

Aug 8, '13 mobile·touch·disable·onmousedown·unity4

1 Reply

0 Votes

avatar image

RoloJo commented

Is there something like OnMouseDown which doesn't require a collider on my prefab?

Aug 4, '13 onmousedown

3 Replies

1 Votes

avatar image

tw1st3d answered

Click on a gameObject to show/hide a GUI box help C#

Aug 1, '13 gui·onmousedown

1 Reply

0 Votes

avatar image

Ouss answered

How to use OnMouseDown while using Penelope Joystick

Jan 25, '14 joystick·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

whydoidoit edited

onMouseDown call function from other script

Jun 20, '13 collider·function·onmousedown·enabled·true

1 Reply

0 Votes

avatar image

danilocjr commented

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

Aug 10, '18 camera·onmousedown

1 Reply

1 Votes

avatar image

robertbu commented

Clickable area problem?

Jun 5, '13 collider·onmousedown·clickable

0 Replies

2 Votes

avatar image

malekbakeer commented

onMouseDown water ripples???

May 19, '13 water·onmousedown

1 Reply

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

asianfanfics68 answered

iOS multiTouch / release - Strange problem

May 2, '19 ios·touch·onmousedown·multitouch·release

0 Replies

0 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

Frankank published

OnMouseDown problem.

Mar 30, '13 menu·onmousedown·time.timescale

0 Replies

0 Votes

avatar image

nabilzaman1 commented

OnMouseDown not firing?

Feb 25, '22 onmousedown

18 Replies

9 Votes

  • »
  • ‹
  • 8
  • 9
  • 10
  • 11
  • 12
  • ›
  • »

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