• 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

i2winners edited

OnMouseDown work through UI elements

Jan 10, '21 in Help Room

2 Replies

0 Votes

avatar image

SkandYxyz answered

Click for destroy Prefab, but sometime don't work

Jan 7, '21 gameobject·mouseclick·onmousedown·right click

1 Reply

0 Votes

avatar image

chrande1 commented

IsPointerOverGameObject not working with touch input

Jan 7, '21 in Help Room

3 Replies

17 Votes

avatar image

EMFX published

How can I make a section of an object react to my mouse being on it or my mouse clicking on it?

Dec 20, '20 gameobject·onmousedown·onmouseover

0 Replies

0 Votes

avatar image

RgClube asked

How to make the selected object destroyed with another selected object

Nov 29, '20 script.·onmousedown·raycasthit2d·selecting objects

0 Replies

0 Votes

avatar image

xxmariofer answered

Overlapping BoxCollider2D (as triggers) not working correctly OnMouseDown

Nov 18, '20 unity 2d·collider2d·onmousedown

1 Reply

0 Votes

avatar image

vanderFeest answered

New Input System OnMouseDown() Alternative

Oct 14, '20 input·onmousedown

2 Replies

2 Votes

avatar image

AlejandroBoss10 commented

OnMouseDown with Tags

Aug 25, '20 playerprefs·tags·int·selection·onmousedown

1 Reply

0 Votes

avatar image

DripSta answered

void OnMouseDown not working

Jul 26, '20 c#·onmousedown·void

3 Replies

0 Votes

avatar image

TerrarianAce commented

Making A Debug.Log depending on what GameObject is active

Jul 24, '20 gameobject·setactive·onmousedown·getkeydown·debug.log

1 Reply

0 Votes

avatar image

yongslyy answered

Activating only when mouse is held down on a button for 0.5s.

Jul 23, '20 collider·coroutine·mouseclick·onmousedown·event triggering

1 Reply

0 Votes

avatar image

Qriscuit answered

OnMouseDown doesn't trigger sometimes

Jul 18, '20 in Help Room

1 Reply

0 Votes

avatar image

KUNGERMOoN answered

OnMouseOver not work when instantiating camera

Jul 17, '20 in Help Room

1 Reply

0 Votes

avatar image

lionelmarr commented

UI Image and OnMouseDown not working

Jul 14, '20 c#·screen·ui image·onmousedown·application.quit

3 Replies

2 Votes

avatar image

ShadyProductions edited

Calling method once

Jun 24, '20 button·2d game·beginner·onmousedown·onmouseup

2 Replies

0 Votes

avatar image

ShokWayve commented

Mouse events only fired once, why?

Jun 14, '20 onmousedown·onmouseover

1 Reply

0 Votes

avatar image

RotatingCelery asked

OnMouseDown() not registering clicks. ( 3d )

May 19, '20 3d·getcomponent·onmousedown

0 Replies

0 Votes

avatar image

BDR530 edited

How do I disable OnMouseDown();

May 12, '20 2d game·onmousedown·methods

1 Reply

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

JOSEPh008 edited

OnMouseDown and Input.GetMouseButtonDown

Apr 21, '20 onmousedown·input.getmousebuttondown

1 Reply

1 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

alifianrc published

Why my input both mouse and touch can't detected?

Mar 15, '20 in Help Room

0 Replies

0 Votes

avatar image

The-It answered

Click detection suddenly stopped working

Mar 13, '20 in Help Room

1 Reply

0 Votes

avatar image

thaison asked

OnMouseDown not work as expected

Feb 17, '20 onmousedown

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

avatar image

heltonluizsb asked

How "select" the enemy even with joystick being used

Jan 31, '20 in Help Room

0 Replies

0 Votes

avatar image

REICHTAG commented

why OnMouseDown is not working

Jan 20, '20 in Help Room

0 Replies

0 Votes

avatar image

BillehBawb commented

Activate an OnMouseDown event before clicking a UI button?

Dec 24, '19 button·onmousedown·button trigger events

1 Reply

0 Votes

avatar image

lgarczyn edited

OnMouseDown not firing if character isn't touching ground

Nov 14, '19 physics·rigidbody·colliders·navmeshagent·onmousedown

0 Replies

0 Votes

avatar image

lex2763 edited

Drag and Drop lagging behind mouse

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

0 Replies

0 Votes

  • 1
  • 2
  • 3
  • 4
  • 5
  • ›
  • »

Followers

avatar image

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Related Topics

c# gameobject collider raycast onmouseup click button mouse gui mouseclick 2d javascript touch object camera onmousedrag ui scripting problem onmouseover guitexture instantiate input android collider2d mobile
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges