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.
-
- Dispatches
mimeeq-modular-set-clone
- Dispatches
-
- when clone mode is activated.
Returns
Promise<void>
Example
// Enter clone mode when the clone button is clicked
document.getElementById('clone-btn').addEventListener('click', () => {
window.mimeeqApp.actions.enableClone();
});