• 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: getmousebutton

  • Unanswered Questions
  • Recommended Questions
Once you sign in you will be able to subscribe for any updates here
avatar image

TheKushBlunts commented

Still Shooting And Aiming After Releasing Both Mouse Buttons

Feb 8, '22 c#·gameobject·3d·aim·getmousebutton

1 Reply

0 Votes

avatar image

MarekRimal answered

Why is my y-axis bugging? Closed

Dec 3, '21 vector3·transform.position·cube·sphere·getmousebutton

1 Reply

0 Votes

avatar image

theunsigned answered

dragging on a gameObject messes with collisions

Nov 14, '19 rigidbody2d·collision detection·collider2d·dragging·getmousebutton

1 Reply

0 Votes

avatar image

Capricornum commented

Input.GetMouseButtonUp not detected after drag Closed

Jun 13, '19 raycasting·mousedrag·getmousebutton

1 Reply

0 Votes

avatar image

osteboste answered

I am having some issues with using Input.GetMouseButton the same time as Input.GetKey...

Dec 1, '18 getkey·getmousebutton

2 Replies

0 Votes

avatar image

cgraf1 asked

Move in direction of touch drag

Nov 16, '18 vector3·direction·getmousebutton

0 Replies

0 Votes

avatar image

halilkayim commented

Issue with Input.GetMouseButton (0) on mobile (iPhone)

Apr 26, '18 input·mobile·iphone·touch·getmousebutton

2 Replies

0 Votes

avatar image

Simoneon edited

Problem with Input.GetMouseButtonUp(0) and Macbook Pro touchpad.,Problem with Input.GetMouseButtonUp(0) on Macbook touchpad

Apr 6, '18 in Help Room

0 Replies

0 Votes

avatar image

awesomebuddy10 commented

How do you check if an instance of an object has been clicked on more than once?

Apr 5, '18 in Help Room

1 Reply

0 Votes

avatar image

gpepper asked

How to throw an object in 2d

Jan 10, '18 in Help Room

0 Replies

0 Votes

avatar image

kyliee08 answered

I want to enable gameobject if i drop 2 gameobject in the same place so i create getmousebuttonup but i don't know how to create statement

Sep 27, '17 in Help Room

2 Replies

0 Votes

avatar image

Gundi asked

Pause my game with a game object!

Aug 14, '17 in Help Room

0 Replies

0 Votes

avatar image

eregoczy commented

Mouse click not working

Apr 11, '17 object·tags·bool·counter·getmousebutton

1 Reply

0 Votes

avatar image

HenryStrattonFW commented

Why is Input.GetMouseButtonUp(0) not returning true?

Jan 28, '17 in Help Room

0 Replies

0 Votes

avatar image

Hydroid commented

How to get an object to follow touch when held. (move on y axis)

Dec 18, '16 input·input.getaxis·input.touch·getmousebutton

2 Replies

0 Votes

avatar image

Dragonfly3r commented

Pick up and drop rigidbody

Sep 25, '16 rigidbody·pickup·drag-and-drop·getmousebutton·drag-rigidbody

2 Replies

1 Votes

avatar image

Murashogg678 published

Bar fills up only when I am holding down mouse button.

Jun 11, '16 getmousebutton

0 Replies

1 Votes

avatar image

Adrian-Salarda asked

Unity Error Script Vector2

Mar 30, '16 in Help Room

0 Replies

0 Votes

avatar image

DeadManJoe33 asked

Issue with dragging 2D objects diagonally

Jan 30, '16 in Help Room

0 Replies

0 Votes

avatar image

Denvery edited

If Time > 0.25s

Sep 30, '15 in Help Room

1 Reply

0 Votes

avatar image

neejammer published

How to Click to Move Sphere (With physics)?*

Jun 8, '15 physics·rigidbody·sphere·clicktomove·getmousebutton

0 Replies

0 Votes

avatar image

Dave-Carlile edited

GetMouseButton Not Working

Jun 7, '15 unity 5·unity5·shooting·shoot·getmousebutton

1 Reply

0 Votes

avatar image

neejammer published

How to get right Physics with Follow on click

May 30, '15 rigidbody·raycast·getmousebutton

1 Reply

0 Votes

avatar image

GiggleSquid published

Problems with Inputs

Mar 29, '15 ui·input·button·getmousebutton

1 Reply

0 Votes

avatar image

uanmanarmy commented

How to make an object appear only when I click and not when I drag

Mar 20, '15 getmousebuttondown·mousedrag·mousedown·getmousebutton

2 Replies

0 Votes

avatar image

Digital-Phantom commented

Getting weird effects from audio clip

Feb 11, '15 c#·sound·audioclip·volume·getmousebutton

1 Reply

0 Votes

avatar image

azkadahlia published

How can I stop UI Raw Img disappearing during GetMouseButton()?

Oct 12, '14 c#·ui·transform.translate·getmousebutton

0 Replies

0 Votes

avatar image

sidhi edited

C# GetMouseButtonUP on specific object ??? Closed

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

0 Replies

0 Votes

avatar image

kikoncuo commented

Irregular jumping

Jul 26, '14 getmousebuttondown·getmousebutton

1 Reply

0 Votes

avatar image

Vitorcampea published

How to create invisible walls in a 2d environment

Mar 5, '14 2d·raycasthit·getmousebutton

2 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.

Follow This Topic

Follow This Topic

Follow by RSS

No one has followed this topic yet.

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

  • Notable Question   JeanFinley
  • Popular Question   Marcus79
  • Notable Question   NinjaEntertainment
  • Notable Question   unity_G3ulWmfFgraLvA
  • Popular Question   InfamousCupcake
  • Notable Question   Shushustorm
  • Popular Question   TheJetstream
  • Necromancer   SuperReaper1999
  • Good Answer   SuperReaper1999
  • Supporter   RonJonesTheArtist


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