• 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

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

Laurence_B edited

Pause button not getting clicked

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

0 Replies

0 Votes

avatar image

ExtinctSpecie commented

Trigger blocks onMouseDown()

Mar 7, '17 triggers·onmousedown·tower-defense

0 Replies

0 Votes

avatar image

diggerjohn asked

lightmapping octane

Oct 5, '17 lightmap·onmousedown·bake

0 Replies

0 Votes

avatar image

allenallenallen answered

OnMouseDown Help with GetComponent..

Jul 29, '15 getcomponent·onmousedown

1 Reply

0 Votes

avatar image

HobbyKid published

Changing the Mouse's Range for OnMouse events

Sep 6, '15 javascript·onmousedown·onmouseenter·onmouseexit

0 Replies

0 Votes

avatar image

RePlexOfficial answered

Add object OnMouseDown

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

1 Reply

0 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

N00MKRAD edited

OnMouseDown doesn´t work when the player looks down

Nov 28, '14 raycast·onmousedown

1 Reply

0 Votes

avatar image

DoTA_KAMIKADzE answered

What I do wrong ? (OnMouseDown)

Nov 10, '15 in Help Room

1 Reply

0 Votes

avatar image

Astrydax edited

Play more animations onclick

Sep 30, '16 in Help Room

1 Reply

0 Votes

avatar image

zhipengyue answered

about create plane by script

Nov 21, '16 in Help Room

1 Reply

0 Votes

avatar image

GrKl commented

Limit where I can Instantiate on mousedown?

Dec 21, '16 gameobject·onmousedown

2 Replies

0 Votes

avatar image

Willy_Wonder edited

Assign UI-Button position to Object?

Apr 24, '17 in Help Room

0 Replies

0 Votes

avatar image

robert-allwin2 commented

Onmouseclick on Cube a sphere should be created inside the cube and On second click it shouldn't

Feb 17, '16 in Help Room

1 Reply

0 Votes

avatar image

Sobe459 published

Buttons around game object. UGUI 4.6

Feb 13, '15 onmousedown·onclick·panel

0 Replies

0 Votes

avatar image

adambanks314 asked

How to make different actions using OnMouseDrag with two different colliders on one Game Object.

Apr 23, '20 collision·collision detection·collider2d·onmousedown·onmousedrag

0 Replies

0 Votes

avatar image

ZefanS commented

OnMouseDown transform problem

Nov 19, '15 in Help Room

0 Replies

0 Votes

avatar image

Bleedblue1125 edited

How do I select a group full of sprites, between two points?

Oct 28, '17 unity 5·sprites·selection·onmousedown

1 Reply

1 Votes

avatar image

LilGames edited

How to allow clicks to go through Circle Collider 2D on sprite prefab?

Apr 22, '17 in Help Room

0 Replies

0 Votes

avatar image

daichiwayne edited

How to trigger game pause with clicking object instead of keycode?

Mar 20, '18 in Help Room

0 Replies

0 Votes

avatar image

cgravat1984 published

Need help with my script - Rollover change material and click change material

Oct 19, '15 material·onmousedown·highlight·onmouseenter

0 Replies

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

MistyAcid answered

OnMouseDown not working in Windows Phone

Aug 4, '16 in Help Room

1 Reply

0 Votes

avatar image

DripSta answered

void OnMouseDown not working

Jul 26, '20 c#·onmousedown·void

3 Replies

0 Votes

avatar image

jeremycorbett commented

Unity Noob - clicking on video textured object to start the video

Mar 1, '16 in Help Room

0 Replies

0 Votes

avatar image

SeRasul answered

mouse event when frame loss

May 27, '17 in Help Room

1 Reply

0 Votes

avatar image

filippob97_unity asked

OnMouseDown and OnMouseUp not working,onMouseDown not working

Aug 4, '19 c#·camera·onmousedown

0 Replies

0 Votes

avatar image

mesmes123 asked

OnMouseDrag() stopped working after few clicks

Oct 26, '21 in Help Room

0 Replies

0 Votes

avatar image

emmapy published

OnMouseDown not firing on prefab instantiated in for loop (2D)

Feb 13, '20 2d·instantiate·for-loop·onmousedown

0 Replies

0 Votes

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

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