Answer the question
In order to leave comments, you need to log in
How to prevent objects from being dragged outside the scene boundaries in Phaser + Matter?
There is a project on Phaser.JS + Matter.JS. Enabled matter mouseSpring on a group of objects that can be dragged around the scene. The problem is that I can move an object or push another object out of the scene and it stays there. How to make sure that this does not happen?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question