• 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

kylebarker82 published

Why Is the game object not selected? I'd like to understand why.

Aug 26, '15 mouseclick·selection·onmousedown·instantiation·selecting objects

2 Replies

0 Votes

avatar image

Zygy edited

Can't click on a moving GameObject

Mar 23, '13 gameobject·collider·lerp·onmousedown

1 Reply

0 Votes

avatar image

Paul Graystone commented

Rotate object about x-axis with mouse like in editor

Mar 20, '13 rotation·mouse·onmousedown·worldtoscreenpoint

1 Reply

0 Votes

avatar image

Dealzu-The-Wikid answered

It seems to me that if I click on a GUITexture the click event is captured not only by the texture but also by the object behind it

Jul 19, '14 guitexture·onmousedown

2 Replies

0 Votes

avatar image

Khada commented

Each consequtive mouse click removes a different Gui.Texture?

Mar 11, '13 textures·onmousedown

1 Reply

0 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

Bunny83 edited

.name = " " statement inside OnMouseDown.

Feb 28, '13 if-statements·onmousedown

3 Replies

0 Votes

avatar image

robertbu commented

Easy question, deleting objects in order.

Feb 19, '13 gameobject·onmousedown·delete·order

1 Reply

0 Votes

avatar image

Lasset commented

Display message when OnMouseDown

Feb 19, '13 gui·click·ongui·onmousedown

2 Replies

0 Votes

avatar image

iwaldrop commented

Detecting Click on Object Issue

Feb 18, '13 2d·onmousedown

1 Reply

0 Votes

avatar image

OmarAlhaddad answered

Click but not drag

Feb 16, '13 drag·click·onmousedown

1 Reply

0 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

Berenger edited

How to turn on/off multiple lights using GUI buttons?

Feb 8, '13 boolean·onmousedown·lights·gui button

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

Wolfram commented

why the unity3d's OnMouseDown method lose efficacy sometime?

Feb 4, '13 mouse·onmousedown·clickable

0 Replies

0 Votes

avatar image

Imankit edited

Reference to Camera/Player that initiates OnMouseDown

Feb 1, '13 camera·player·onmousedown

1 Reply

0 Votes

avatar image

sdgd edited

OnMouseDown how to call yield?

Jan 29, '13 c#·onmousedown·yield waitforseconds

1 Reply

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

eXtremeTY commented

How to control GUITextures within a single C# script?

Jan 19, '13 c#·gui·guitexture·hit·onmousedown

1 Reply

0 Votes

avatar image

petex edited

Alternative to OnMouseDown()

Jan 30, '13 shooting·joystick·onmousedown·alternative·onmouse

2 Replies

0 Votes

avatar image

Ronin6 commented

Increase mouseclick area size for OnMouseDown() - For Mouse Shooting Game (Open to more ideas)

Jan 16, '13 shooting·size·onmousedown·onmouse·mouse aim

2 Replies

0 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

hexagonius answered

OnMouseDown Problem With Colliders

Nov 14, '14 c#·colliders·onmousedown

3 Replies

0 Votes

avatar image

clunk47 commented

Making a var appear on click

Dec 13, '12 variable·function·onmousedown·enabled

1 Reply

0 Votes

avatar image

Posthuman-Wizard edited

GUITexture and GameObject OnMouseDown() Problem

Dec 6, '12 gui·input·guitexture·onmousedown·guielement

1 Reply

0 Votes

avatar image

Time.toMoveOn published

Move an object by clicking on another

Dec 7, '12 lerp·translate·onmousedown

3 Replies

0 Votes

avatar image

benjimazza answered

OnMouseDown

Nov 3, '12 javascript·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

tonymamoni published

OnMouseUp error

Oct 21, '12 onmousedown

0 Replies

0 Votes

avatar image

kmeboe commented

Click on Object

Oct 12, '12 rigidbody·drag·onmousedown

2 Replies

0 Votes

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

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