diff --git a/packages/@dcl/inspector/src/components/Renderer/Renderer.tsx b/packages/@dcl/inspector/src/components/Renderer/Renderer.tsx index 5913793f5..eb460fda2 100644 --- a/packages/@dcl/inspector/src/components/Renderer/Renderer.tsx +++ b/packages/@dcl/inspector/src/components/Renderer/Renderer.tsx @@ -91,9 +91,14 @@ const Renderer: React.FC = () => { const duplicateSelectedEntities = useCallback(() => { if (!sdk) return + const camera = sdk.scene.activeCamera! + camera.detachControl() const selectedEntitites = sdk.sceneContext.operations.getSelectedEntities() selectedEntitites.forEach((entity) => sdk.sceneContext.operations.duplicateEntity(entity)) void sdk.sceneContext.operations.dispatch() + setTimeout(() => { + camera.attachControl(canvasRef.current, true) + }, 100) }, [sdk]) const copySelectedEntities = useCallback(() => {