Cannot delete mesh from scene

Is there a way to delete a mesh that I have created using a button?
https://playground.babylonjs.com/#CBGEQX#431

standard scoping issue :slight_smile:
https://playground.babylonjs.com/#CBGEQX#433

1 Like

You were just declaring tempSphere in the wrong context

https://playground.babylonjs.com/#CBGEQX#432

1 Like

Thanks guys for the super quick answers! Iā€™m just getting started: D.