Type Alias: EnableClone()
EnableClone = () =>
Promise
<void
>
Function
Activates clone mode for the currently selected product.
This function enters a special interaction mode where the next click on the scene will create a copy of the currently selected product. The clone will inherit all configuration options from the original, allowing quick duplication of components.
Cloning is useful for creating symmetrical designs or placing multiple identical components without having to reconfigure each one.
Returns
Promise
<void
>
Example
// Enter clone mode when the clone button is clicked
document.getElementById('clone-btn').addEventListener('click', () => {
window.mimeeqApp.actions.enableClone();
});
Emits
mimeeq-modular-set-clone This event is fired when Clone button was clicked