• 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

Unanswered Questions

  • All Questions
avatar image

lex2763 edited

Drag and Drop lagging behind mouse

Sep 12, '19 drag·mouseposition·onmousedown·drag-and-drop·dragging

0 Replies

0 Votes

avatar image

AntJPGR published

[Novice] Footstep Line Drawing OnClick

Feb 24, '16 in Help Room

0 Replies

0 Votes

avatar image

T-E-M commented

2D Colliders stops working at random despite rigidbody, OnMouseDown not called

Jan 25, '17 rigidbody2d·collider2d·raycasting·onmousedown·kinematic

0 Replies

0 Votes

avatar image

Dasfried published

The "Event Trigger" Component makes more process to the game that use a collider and use this in the script when I use "onMouseDown" function?

Sep 5, '14 canvas·onmousedown·event triggering·uitoolkit

0 Replies

0 Votes

avatar image

Riva11 commented

Call OnMouseDown of collider?

Mar 14, '14 collider·onmousedown·zone

0 Replies

0 Votes

avatar image

RothX asked

2D - OnMouseDown not working despite having a collider

Mar 16, '20 in Help Room

0 Replies

0 Votes

avatar image

isteffy commented

OnMouseDown() won't work unless gameObject's 2DBox Collider - ‘Is Trigger’ is toggled on/off mid-game in editor.

Aug 24, '15 collision·collider·bug·onmousedown

0 Replies

0 Votes

avatar image

SmaiStudios commented

OnMouseDown Multiple Objects. OnMouseDown not working.

Aug 14, '19 in Help Room

0 Replies

0 Votes

avatar image

SunilUL asked

Equivalent of OnMouseDown() for VRTK pointer

Sep 16, '17 c#·vr·oculus·eventsystem·onmousedown

0 Replies

0 Votes

avatar image

schmidt73 published

OnMouseDown Firing When I Miss 2DCollider

Jun 2, '14 c#·2d·onmousedown

0 Replies

0 Votes

avatar image

Willy_Wonder published

GUI Button Moving with a mouse

Apr 27, '17 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

Kye923 published

How to make object clickable when user enter collider ?

May 17, '15 object·mouse·ontriggerenter·click·onmousedown

0 Replies

0 Votes

avatar image

rodude123 published

endless sidescroller porting to android

Feb 16, '14 button·onmousedown·health

0 Replies

0 Votes

avatar image

Reagix published

NullReferenceException after AddComponent in OnMouseDown

Jul 4, '15 nullreferenceexception·onmousedown·addcomponent

0 Replies

0 Votes

avatar image

chillersanim commented

Use OnMouseOver or Raycasting while also displaying a camera texture.

Oct 4, '16 c#·raycast·mouseposition·onmousedown·onmouseover

0 Replies

0 Votes

avatar image

Odkken published

Using OnMouseDown to send RPC, along with ID of clicking player

May 26, '14 networking·rpc·onmousedown·owner

0 Replies

0 Votes

avatar image

abers1997 edited

How to move gameObject along a Vector3 with OnMouseDrag()?

Sep 8, '17 in Help Room

0 Replies

0 Votes

avatar image

tubaphc asked

How to detect a mouse click on a line in 3d?

Mar 5, '18 object·linerenderer·onmousedown·line·line drawing

0 Replies

0 Votes

avatar image

zohra published

removing chracter

Nov 12, '13 onmousedown

0 Replies

0 Votes

avatar image

pritam.dash published

How to make a GUI window appear on clicking a game object

Feb 12, '16 ongui·onmousedown

0 Replies

0 Votes

avatar image

Pnvanol edited

Mobile OnMouseDown

Sep 30, '16 in Help Room

0 Replies

0 Votes

avatar image

Le-Pampelmuse commented

Two script using the same box Collider

Nov 16, '15 boxcollider·onmousedown

0 Replies

-1 Votes

avatar image

matthewcastiglia published

OnMouseButtonDown Raycast multiple Objects

Jan 4, '17 raycast·onmousedown

0 Replies

0 Votes

avatar image

shadab_badar asked

Unity 3.5 OnMouseDown Not working

Apr 3, '14 onmousedown

0 Replies

0 Votes

avatar image

CrizzieBabe asked

I am trying to adjust the AnimMoveSpeed triggered by OnMouseDown. So that the player walks slower. Please help.

Nov 11, '16 in Help Room

0 Replies

0 Votes

avatar image

meat5000 commented

trying to get the OnMouseDown method to update per frame or deltatime

Jun 26, '15 onmousedown

0 Replies

0 Votes

avatar image

MakeGames2020 published

Method for giving a ball momentum through a swipe

Apr 2, '15 rigidbody·addforce·onmousedown

0 Replies

0 Votes

avatar image

Kasperknop published

GoogleVR Builds closes after Splash Screen

Mar 13, '17 vr·android build·google·onmousedown

0 Replies

0 Votes

avatar image

ilkyazar edited

How to make prefab clones selectable?

Jun 29, '18 in Help Room

0 Replies

0 Votes

  • ‹
  • 1
  • 2
  • 3
  • 4
  • ›

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