I used this.physics.moveTo(sprite, this.x1, this.y1);
but the sprite does not stop moving…
I used this.physics.moveTo(sprite, this.x1, this.y1);
but the sprite does not stop moving…
moveTo
doesn’t the stop the body automatically, it only sets up the velocity. There’s an example.