• 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

Mouseclick

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

Caeser_21 edited

Moving 2D player only one Hex, Flat Top, on mouse click, only to hexes next to player

May 19, '22 player movement·mouseclick·hexagon·hex

1 Reply

0 Votes

avatar image

marysofy published

Advise on point & click game VR game, with mouse?

Mar 8, '22 vr·oculus·mouseclick·clickable

0 Replies

0 Votes

avatar image

unity_1CD47170299E1C4E893A published

Change color by a mouse click,Change color on mouse click

Feb 22, '22 mouseclick·color change

0 Replies

0 Votes

avatar image

cagdaskml commented

How do i move the game object towards the mouse clicked point smoothly?

Feb 23, '22 in Help Room

0 Replies

0 Votes

avatar image

Axilex62 edited

Enlarge touched area of mouse on GameObject - Unity

Nov 14, '21 in Help Room

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

rage_co commented

Unity sometimes misses Mouse Button Release

Sep 24, '21 input·bug·mouse·bug-perhaps·mouseclick

1 Reply

0 Votes

avatar image

adibak published

Why is input mouse clicking not working on WebGL build?

Sep 7, '21 in Help Room

0 Replies

0 Votes

avatar image

adibak asked

How to place instantiated prefab on ground?

Jul 7, '21 in Help Room

0 Replies

0 Votes

avatar image

kskjadav007 answered

save and move to mouse click positions

Jul 6, '21 array·transform.position·mouseposition·mouseclick

1 Reply

0 Votes

avatar image

tallishfire published

Detect mouse click outside game window

Jun 29, '21 input·mouseclick·detect·inactive·outside

0 Replies

0 Votes

avatar image

kayrayorulmaz published

How can I convert a OnMouseDown() command to a GetTouch input properly?

May 27, '21 touch·touch controls·touchscreen·mouseclick

0 Replies

0 Votes

avatar image

PolymathicIndustries edited

Spawning game piece correctly to allow highlighting

May 16, '21 in Help Room

0 Replies

0 Votes

avatar image

W4rWolf edited

Listen for clicks outside of unity application

May 7, '21 windows·dll·background·mouseclick·event-listener

0 Replies

0 Votes

avatar image

Vivien_Lynn edited

Differentiate left, right and both mouse inputs

May 3, '21 input·mouseclick

0 Replies

0 Votes

avatar image

Hibinger asked

Move to mouse position, (if start pressing from the character) - HELP Closed

Apr 29, '21 in Help Room

0 Replies

0 Votes

avatar image

HummeL_YT answered

How to see what happens after click, line by line? Closed

Apr 24, '21 in Help Room

1 Reply

0 Votes

avatar image

Inkarr answered

Rotate gameobject to face mouse click over time

May 8, '21 rotation·gameobject·mouseposition·mouseclick

1 Reply

0 Votes

avatar image

dwathen answered

Left mouse button registers multiple clicks

Mar 26, '21 error·mouseclick

1 Reply

0 Votes

avatar image

DiasPTW commented

After loading scene raycast2D script doesn't detect all clicks Closed

Feb 8, '21 c#·scene-loading·scene-switching·mouseclick·raycasthit2d

0 Replies

0 Votes

avatar image

Omti1990 answered

button.Select() and alternatives don't seem to work when called via new input system

Feb 5, '21 ui·input·bug-perhaps·mouseclick

1 Reply

0 Votes

avatar image

bsmith736464 asked

Click to Move Player in 2D Platform

Jan 12, '21 in Help Room

0 Replies

0 Votes

avatar image

ugur_gok answered

Mouse over UI elements won't work

Dec 20, '20 ui·touch·detection·mouseclick

1 Reply

0 Votes

avatar image

Nosada asked

Game Crashes if Mouse Clicked while Loading Scene

Dec 4, '20 in Help Room

0 Replies

0 Votes

avatar image

Pokedlg3 answered

neither GetMouseButton nor GetMouseButtonDown work, not even the preset input Fire1, is the problem with my touchpad or with the script??

Dec 4, '20 mouseclick·touchpad·no errors

1 Reply

0 Votes

avatar image

rolandart published

How can I move an object to a clicked objects (center of X,Z) coordinates (board game)?

Dec 3, '20 transform.position·mouseclick·move an object·logic·boardgame

0 Replies

0 Votes

avatar image

ahmadalghizi236 published

Mouse Click Teleportation with 2.5d game

Nov 30, '20 transform·3d·mouseclick·teleport·2.5d

0 Replies

0 Votes

avatar image

mckinney777me edited

make object disappear after being thrown when mouse clicked anywhere ?

Nov 1, '20 gameobject·instantiate·touch·mouseclick·referencing

1 Reply

0 Votes

avatar image

outramjamie_unity answered

2d game - animation - drinking/glass

Oct 30, '20 in Help Room

1 Reply

0 Votes

avatar image

lugduweb asked

Unable to get mouse or key events in ExecuteInEditMode

Oct 18, '20 in Help Room

0 Replies

0 Votes

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

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# mouse raycast input gameobject movement mouseposition ui button touch onmousedown 2d rotation javascript mouse-drag click 2d game instantiate collider animation gui object camera position unity 5


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