Question by
asafka · Jan 18, 2016 at 10:06 AM ·
gameobjectmouseonmouseup
Check what under the mouse when I release it
In my game the user can drag a gameobject with the mouse and move that gameobject as long as the mouse is pressed.
I want to add a functionality so that I can check what gameobject is currently under the dragged one when I release the mouse. What I mean is to check what gameobject is under the mouse when I release it after dragging another gameobject.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612060408im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Move object like in scene mode 0 Answers
Select Objects ingame and show information 0 Answers
[Solved]Weird Time.timeScale behavior 3 Answers
How can i choose object with mouse ? 0 Answers
Creating a grid that holds objects of different sizes? 0 Answers