move panel
-
Is it possible to create a panel that can be moved with the mouse in a compiled plugin? I know that it is possible with 2 sliders x and Y with (Panel5.set("y", -value); )
-
@yall yes
-
@d-healey just click allow dragging ^^
I hadn't opened my eyes :) -
-
@yall I haven't used it but I think it should be possible by checking the position within the mouse callback.
-
@yall use
Scriptpanel.setDraggingBounds(area)
and provide the area where you want the panel to move in. Works like a charm.