cloned entity not draggable although original entity is ,crafyjs
问题 I am building this simple HTML5 drag and drop game using Craftyjs. I created an entity let's call it E1 with some components, one of the components is " Draggable ". I created a new entity E2 and made it as a clone of E1 (now E2 should have a copy of all E1's properties and components) on run, E2 is cloned with the same properties and attribute but it is not draggable! var E1 = Crafty.e("2D, Canvas, apple, Draggable, Gravity, Collision"); var E2 = E1.clone(); E2.attr({x:100, y:100}); E2