Type Alias: EnableMove()
EnableMove = () =>
Promise
<void
>
Function
Activates move mode for the currently selected product.
This function enters a special interaction mode where the user can relocate the currently selected product to a different valid position in the scene. When in move mode, all possible destinations will be highlighted, and the user can click on a destination to move the product there.
Moving products allows for refining layouts and adjusting spatial relationships between components in the modular design.
Returns
Promise
<void
>
Example
// Enter move mode when the move button is clicked
document.getElementById('move-btn').addEventListener('click', () => {
window.mimeeqApp.actions.enableMove();
});
Emits
mimeeq-modular-set-move This event is fired when Move button was clicked