You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create a sort of mobile game with Matter.js. I'm using Matter.js mobile demo as reference point. I was able to change a few things and make it work, however I wasn't able to get rid of the green drag trail that's being shown when I drag an object. I tried this:
I'm trying to create a sort of mobile game with Matter.js. I'm using Matter.js mobile demo as reference point. I was able to change a few things and make it work, however I wasn't able to get rid of the green drag trail that's being shown when I drag an object. I tried this:
World.add(_world, MouseConstraint.create(_engine, {
render: {
visible: false,
lineWidth: 0,
strokeStyle: 'rgba(0,0,0,0)'
}
}));
But that didn't work. Is it possible to remove it?
The text was updated successfully, but these errors were encountered: