Hi guys!
I need example code for the mouse selection object. Can i do it and how?
I already searched but didn't found or i cant do it sory
Need to grab object with mouse and drop it where i want to...
Need example code for grab and drop object with mouse?
Re: Need example code for grab and drop object with mouse?
You can look at the code of my video puzzle:
https://love2d.org/forums/viewtopic.php ... 9&p=207465
https://love2d.org/forums/viewtopic.php ... 9&p=207465
Re: Need example code for grab and drop object with mouse?
No no sory for my english.
I mean grab object in the window screen and drop it. Example box object. I want select and grab box object with mouse in the window and change object location.
Look it please : https://jqueryui.com/droppable/
I mean grab object in the window screen and drop it. Example box object. I want select and grab box object with mouse in the window and change object location.
Look it please : https://jqueryui.com/droppable/
Re: Need example code for grab and drop object with mouse?
Here is an example code that does the same thing as your Javascript example.
- Attachments
-
- droppable.love
- (621 Bytes) Downloaded 203 times
Re: Need example code for grab and drop object with mouse?
Yes! Thank you so much.
Who is online
Users browsing this forum: Bing [Bot] and 2 guests