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
Post a Comment