Jump to content

Disable Drag and Drop events on a Sprite


iceherosubzero
 Share

Recommended Posts

Hello All,

 

I need to know how to disable drag and drop events on remaining sprites when a popup is shown when some sprites are placed properly when dragged.

// Costume is my sprite name or instance namescostume.events.onDragStart.add(this.onDragStart,this);costume.events.onDragStop.add(this.onDragStop,this);// My FunctionsonDragStart:function(){};onDragStop:function(){}; 

Any idea how I can disable the events

 

Regards,

Iceheros

Link to comment
Share on other sites

  • 3 weeks later...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...