title: How to delete a line segment in phaser 3?
body: <p>I have created multiple lines in Phaser 3 and now need to remove them. I am mainly searching for a way to delete them entirely instead of just making them invisible. The code I have used to create the lines is below:</p>
  
  <pre><code>graphics = game.add.graphics({ lineStyle: {width: 4, color: 0xa9a9a9 } });
  line = new Phaser.Geom.Line(100, 100, 200, 200)
  graphics.strokeLineShape(line)
  </code></pre>
  
  <p>Thanks</p>