In this short Unity Tip I will show you how to drag and drop UI image in Unity so that it follows the mouse when we drag it and stays in place when we drop it.
To create this we will be using Event Trigger component that allows us to react to many different events regarding player input.
[ Ссылка ]
Learn to write more maintainable code by making 2d games in Unit:
[ Ссылка ]
Join the discord:
[ Ссылка ]
You can support me through Patreon:
[ Ссылка ]
![](https://i.ytimg.com/vi/sXTAzcxNqv0/maxresdefault.jpg)