Disabling Mouse Joint, Mouse Dragging

I think this is supposed 2 be as simple as un-select allowDragging from Component parameters or worldInstance.allowDragging=false; in code.

But Strangely this seems 2 have no effect. did I miss anything?
You have to change a bit the wck.World class. If you look in the create function, you'll see something like this:
Code:
public override function create():void {
 regionStore = new Dictionary(true);
 baseGravity = new V2(gravityX, gravityY);
 ............
 listenWhileVisible(this, MouseEvent.MOUSE_DOWN, handleDragStart);
}

The last line must be changed like this:
Code:
if(allowDragging)listenWhileVisible(this, MouseEvent.MOUSE_DOWN, handleDragStart);
Sweet It works. Thanks 4 quick reply.

Original thread: https://box2d.org/forum/viewtopic.php?t=7269