I know it’s possible to disable an interaction on a button… by making it invisible. But what if we want to see it and activate interactions only later (and have the possibility to remove them later if needed, then reactivate, etc)?
manager.removeControl(pushButton) make butotn invisible, and by acceessing buttons from manager I don’t see what property to use. Here a playground where I tried to see what if behaviours can help but array length on my button is
0 : (line 45) https://www.babylonjs-playground.com/#8Y780Y#90
Is the only solution to overwrite pointerAnimation functions each time I want to disable/enable?