diff --git a/demo/js/Demo.js b/demo/js/Demo.js index e837b0a..bb212ec 100644 --- a/demo/js/Demo.js +++ b/demo/js/Demo.js @@ -1358,6 +1358,10 @@ }) ); + // red category objects should not be draggable with the mouse + + _mouseConstraint.collisionFilter.mask = defaultCategory | blueCategory | greenCategory; + var renderOptions = _engine.render.options; renderOptions.wireframes = false; renderOptions.background = '#222';