• 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

zuzia1992 published

On Click GUI texture

Oct 8, '16 guitexture·onmousedown·onclick·popup

0 Replies

0 Votes

avatar image

bundoorahul edited

Instantiating prefabs problems. Check the description

Mar 10, '18 in Help Room

0 Replies

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

HobbyKid published

Changing the Mouse's Range for OnMouse events

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

0 Replies

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

Willy_Wonder edited

Assign UI-Button position to Object?

Apr 24, '17 in Help Room

0 Replies

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

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

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

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

avatar image

danny1111 published

Raycast with image over collider

Feb 11, '16 in Help Room

0 Replies

0 Votes

avatar image

mouz13 edited

Rotate a spawned object whith onmousedrag and move it with onmousedown

May 18, '21 programming·rotate object·move an object·onmousedown·onmousedrag

0 Replies

0 Votes

avatar image

Hooman-BZ-1989 asked

Why my OnMouseDown is lost?!!!

Dec 13, '17 c#·unity 5·unity5·click·onmousedown

0 Replies

1 Votes

avatar image

REICHTAG commented

why OnMouseDown is not working

Jan 20, '20 in Help Room

0 Replies

0 Votes

avatar image

Hubmac commented

On Off sound

Apr 20, '16 in Help Room

0 Replies

0 Votes

avatar image

FordUser01 published

OnMouseDown not working under Character Conroller

Jun 23, '17 in Help Room

0 Replies

0 Votes

avatar image

Inblinder commented

OnMouseDown() function

Feb 6, '18 c#·onmousedown·destroygameobject

0 Replies

0 Votes

avatar image

caitlynraye asked

How can I use OnMouseDown and a button click in the same scene?

Nov 28, '18 ui·onmousedown·button trigger events

0 Replies

0 Votes

avatar image

DCordoba edited

Change Mesh/Gameobject onmousedown?,Swap mesh/gameobject randomly onmousedown

Jan 27, '19 gameobject·mesh·onmousedown

0 Replies

0 Votes

avatar image

MeltedMan commented

how do i seperate action of mousedown for each object?

Jun 25, '15 onmousedown

0 Replies

0 Votes

avatar image

HJS71738 published

2D Game Mouse Problem

Jun 9, '15 mouse·collider2d·onmousedown

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