canvas - KineticJS - How to find out which object were dragged? -


is there possibility, how realise, object moved? if had example 5 object on canvase , move 1 object, there information changed since time? thanks

attach dragend handler function, event variable has targetnode, node drag event has happened on.

node.on('dragend', function (event) { console.log('dragged node: ' + event.targetnode); } 

Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -