• 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

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

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

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

bundoorahul edited

Instantiating prefabs problems. Check the description

Mar 10, '18 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

airamgreg asked

Variable doesn't update in the inspector

Jan 28, '18 in Help Room

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

diggerjohn asked

lightmapping octane

Oct 5, '17 lightmap·onmousedown·bake

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

abers1997 edited

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

Sep 8, '17 in Help Room

0 Replies

0 Votes

avatar image

BrioBlu asked

Help with raycast!!

Jul 28, '17 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

Willy_Wonder published

GUI Button Moving with a mouse

Apr 27, '17 in Help Room

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

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

Kasperknop published

GoogleVR Builds closes after Splash Screen

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

0 Replies

0 Votes

avatar image

ExtinctSpecie commented

Trigger blocks onMouseDown()

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

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

TSG2013 published

accessing the previous click object information

Jan 25, '17 scripting problem·ui·audio·onmousedown

0 Replies

0 Votes

avatar image

matthewcastiglia published

OnMouseButtonDown Raycast multiple Objects

Jan 4, '17 raycast·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

Arcana96 edited

Odd change in behaviour after I rearranged project files

Oct 14, '16 scripting problem·serialization·project·json·onmousedown

0 Replies

0 Votes

avatar image

zuzia1992 published

On Click GUI texture

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

0 Replies

0 Votes

avatar image

Pnvanol edited

Mobile OnMouseDown

Sep 30, '16 in Help Room

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

Hubmac commented

On Off sound

Apr 20, '16 in Help Room

0 Replies

0 Votes

avatar image

charlottie333 asked

Simple light switch problem

Apr 8, '16 in Help Room

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

AntJPGR published

[Novice] Footstep Line Drawing OnClick

Feb 24, '16 in Help Room

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

  • ‹
  • 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