• 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

k234234w answered

How to create a simple score count based on clicked objects?

Dec 4, '18 score·onmousedown·scoring

1 Reply

0 Votes

avatar image

caitlynraye asked

How can I use OnMouseDown and a button click in the same scene?

Nov 28, '18 ui·onmousedown·button trigger events

0 Replies

0 Votes

avatar image

brunopava answered

OnMouseOver Problem

Nov 26, '18 onmousedown·onmouseover·onmouseenter·onmouseup·onmouseexit

3 Replies

0 Votes

avatar image

lemon_pumpkins asked

How to make a physical keypad

Nov 20, '18 in Help Room

0 Replies

0 Votes

avatar image

riskaanisah commented

OnMousedown for multiple sprites

Nov 14, '18 onmousedown

2 Replies

0 Votes

avatar image

rajarshidas24 commented

How to run the Coroutine of one script in another using the onMouseDown function ?

Oct 29, '18 scripting problem·coroutines·onmousedown

2 Replies

0 Votes

avatar image

y0kkaboom answered

Drag Object from left to right ONLY

Oct 19, '18 in Help Room

2 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

SoshJam commented

[STILL UNANSWERED] Lock object to mouse position & rotate it about mouse? [C#, 2D] Closed

Oct 3, '18 c#·rigidbody2d·onmousedown·input.mouseposition

2 Replies

1 Votes

avatar image

R_HP commented

OnMouseDown not Working becuase of camera distance !!!!

Sep 18, '18 scripting problem·onmousedown

0 Replies

0 Votes

avatar image

atahhh commented

I want to only open the keyboard when im using an inputfield onmouseup not onmousedown

Sep 10, '18 in Help Room

1 Reply

0 Votes

avatar image

gvergidis answered

Looping and closing walls

Aug 21, '18 c#·raycast·building·onmousedown

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

danilocjr commented

OnMouseDown w/ Multiple Cameras Doesn't Work Right

Aug 10, '18 camera·onmousedown

4 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

Laurence_B edited

Pause button not getting clicked

Jul 18, '18 ui·button·3d·onmousedown·onclick

0 Replies

0 Votes

avatar image

GreatCorn edited

OnMouseOver on LateUpdate

Jul 13, '18 button·mouse·onmousedown·timescale·lateupdate

1 Reply

0 Votes

avatar image

ilkyazar edited

How to make prefab clones selectable?

Jun 29, '18 in Help Room

0 Replies

0 Votes

avatar image

JDelekto answered

Collider priority with onMouseDown()

Jun 23, '18 2d·colliders·click·onmousedown·priority

2 Replies

1 Votes

avatar image

Tobychappell commented

How to move object to the position of another object while clicked on it?

May 25, '18 object·transform.position·move·mouseclick·onmousedown

1 Reply

0 Votes

avatar image

matthew_gigante answered

Issue with loading scenes using onMouseDown for mobile

May 22, '18 in Help Room

1 Reply

0 Votes

avatar image

sean244 commented

How to detect when the mouse button is being held down while the cursor is inside a collider?

May 20, '18 input·mouse·onmousedown

1 Reply

0 Votes

avatar image

RicardoRios2004 edited

How can I move a player toward a gameobject by clickling an image

Apr 25, '18 c#·movement·gameobject·player·onmousedown

0 Replies

0 Votes

avatar image

lasco asked

replace "OnPress" (button) by "OnMouseDown" (collider)

Apr 19, '18 in Help Room

0 Replies

0 Votes

avatar image

IIPusheenII asked

Instantiate PreFab on trigger location

Apr 17, '18 in Help Room

0 Replies

0 Votes

avatar image

ricardoaffonso commented

OnMouseDown from distance

Apr 5, '18 onmousedown

1 Reply

0 Votes

avatar image

sandeepsmartest commented

Is OnMouseDown the same with Raycast?

Apr 3, '18 raycast·object·onmousedown

1 Reply

0 Votes

avatar image

RePlexOfficial answered

Add object OnMouseDown

Mar 27, '18 object·onmousedown·snap·snapping·adding

1 Reply

0 Votes

avatar image

isabel128664 edited

On-click and trigger animation c#

Mar 23, '18 in Help Room

1 Reply

0 Votes

avatar image

Rasta_42 asked

Action on click instead of hold button.

Mar 22, '18 in Help Room

0 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