[SOLVED] Cloning main character but want to destroy camera

I’m cloning my main character, removing the movements script from the clones. This seems to create several cameras and the engine defaults to one of the cameras other than the main character. How do you delete cameras from clones programatically? PlayCanvas | HTML5 Game Engine

Hi @Julianbull!

You can remove a component of an entity like below.

this.entity.removeComponent('camera');

thanks very much