There are both actionManager and PointerDragBehavior in the scene
Need to switch both enabled and disabled states
The drag behaviors can be disabled by setting the appropriate property: Mesh Behaviors | Babylon.js Documentation (babylonjs.com)
1 Like
Your solution works but doesn’t completely solve my problem
I need to disable the model’s actionManager to achieve click event enable disable, any good idea?
Cannot delete actionManager or action
Instead, change the state value of actionManager
ActionManager has unregisterAction: ActionManager | Babylon.js Documentation (babylonjs.com)
1 Like