• 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

Getmousebuttondown

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

sidhi edited

C# GetMouseButtonUP on specific object ??? Closed

Aug 3, '14 c#·click·getmousebuttondown·getmousebutton

0 Replies

0 Votes

avatar image

highpockets edited

Input.mousePosition changing to (0,0) after GetMouseButtonUp

Feb 24, '14 2d-gameplay·getmousebuttondown

1 Reply

0 Votes

avatar image

Meltdown commented

Moving an object left and right a certain amount?

Aug 12, '14 getmousebuttondown

0 Replies

0 Votes

avatar image

Bunny83 answered

Destroy GetMouseButtonDown event and position or force mousebuttonup

Jul 10, '17 touch·mouseposition·multitouch·getmousebuttondown

1 Reply

0 Votes

avatar image

Tsaras answered

Problem with multi-touch from android

Apr 18, '19 input·touch·multitouch·input.touch·getmousebuttondown

1 Reply

0 Votes

avatar image

Hellium answered

Spawn An Object Every 2 Units On The Y-Axis

Oct 1, '18 instantiate·random.range·getmousebuttondown

1 Reply

0 Votes

avatar image

MagicStyle edited

GetMouseButtonDown(0) is laggy

Oct 28, '17 c#·lag·getmousebuttondown

1 Reply

1 Votes

avatar image

umurcuk published

UNITY 2D ANDROID DEVICE TOUCH PROBLEM

Jul 26, '17 in Help Room

0 Replies

0 Votes

avatar image

tekkar answered

Problem with simple Character movement on Android (Touch/GetMouseButtonDown)

Feb 13, '16 in Help Room

1 Reply

0 Votes

avatar image

dan_wipf commented

Why is "GetMouseButtonDown(0)" not working on 2 functions?

Nov 19, '17 c#·scripting problem·touch·controls·getmousebuttondown

1 Reply

0 Votes

avatar image

xxmariofer commented

I am trying to close the GUI if its already active and the user clicks

Feb 25, '19 in Help Room

2 Replies

0 Votes

avatar image

Kishotta answered

what is the difference between raycast and getmousebuttondown in a RTS game ?

Oct 19, '17 unity 5·raycast·unity5·getmousebuttondown

1 Reply

0 Votes

avatar image

Genocider published

Input.GetMouseButtonDown not working in Play mode

Sep 28, '15 input·build·getmousebuttondown·input.getmousebuttondown

0 Replies

0 Votes

avatar image

UrielKane answered

OnMouseOver() with Input.GetMouseButtonDown(0) is being triggered for all instantiated objects from a prefab when I only click on one

Feb 25, '18 in Help Room

1 Reply

0 Votes

avatar image

whydoidoit commented

How do I nest or use if/and correctly?

Mar 12, '14 getmousebuttondown

1 Reply

0 Votes

avatar image

justpassingby answered

Inconsistent GetMouseButtonDown Behaviour

Jun 8, '16 in Help Room

1 Reply

0 Votes

avatar image

JungOmul commented

Clicking Cube And Canvas Appears and disappears

Nov 8, '17 in Help Room

1 Reply

0 Votes

avatar image

DwaynePritchett commented

How to click within a game objects collider?

Aug 8, '15 collider·input·mouseposition·getmousebuttondown

0 Replies

0 Votes

avatar image

JACKARY published

Using Multiple Prefabs with Multiouch

Mar 18, '16 prefab·input·multitouch·input.touch·getmousebuttondown

0 Replies

0 Votes

avatar image

andrei2699 answered

How to return back to false?

Jul 26, '16 in Help Room

1 Reply

0 Votes

avatar image

ewanvanvan commented

How do I make mouse clicks to be processed only where I need it?

Jul 13, '18 c#·mouse·get·getmousebuttondown

1 Reply

0 Votes

avatar image

Whayman answered

How to make spawned in game objects pause with mouse click.

Apr 3, '17 in Help Room

1 Reply

0 Votes

avatar image

thesponk edited

How to rotate object in time / Why my Input.GetMouseButtoDown is slower than my Keyboard one?

Dec 27, '16 in Help Room

0 Replies

0 Votes

avatar image

danny_appel answered

Input.GetMouseButtonDown only works for 10seconds

Mar 31, '21 input·getmousebuttondown·stops

2 Replies

0 Votes

avatar image

Conor19 asked

How can I negatively addforce to an object based on mouse position?

Apr 11, '17 in Help Room

0 Replies

0 Votes

avatar image

Dwakers92 asked

I am trying to close the GUI if its already active and the user clicks

Feb 25, '19 in Help Room

0 Replies

0 Votes

avatar image

musicalbulltz asked

MouseClick not counted

Sep 28, '19 getmousebuttondown

0 Replies

0 Votes

  • ‹
  • 1
  • 2

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# input raycast touch getmousebutton collider gui mouseclick android instantiate setactive multitouch input.touch update function ray raycasthit mouse mouseposition transform onmousedown click rigidbody addforce unity 5 mousedown


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