While using direct gui objects (in 1.6.2) , I couldn’t find a way to drag/scale them.
myFrame = DirectFrame(frameColor=(0,0,0,1) , frameSize=(-1,1,-1,1 ) ,enableEdit=1,scale=0.5,state=DGG.NORMAL)
Even though enableEdit=1 , I can’t drag/scale the myFrame when I run.
I tried other objects like button and couldn’t get to work.
Is there anything else that I have to add to use picking already implemented?
enableEdit = 1 is actually the default; you’d set it to 0 for any objects you don’t want to be able to edit (for instance, because the additional messenger hooks might interfere with some other behavior).
The way to enable editing mode is to put:
in your Config.prc file. Then I believe it’s the middle mouse button to drag it. Use control-middle button to scale it.
I didn’t know about two things you mentioned.
Now I can drag and scale gui objects!