BUTTON['USE_INFMIN']=Draw.Toggle(" ",2,20,155,20,20,BUTTON['USE_INFMIN'].val,"Use the min value.");
BUTTON['INFMIN']=Draw.Number("min: ",2,40,155,90,20,BUTTON['INFMIN'].val,0.000,100.0,"The distance below which objects try to avoid each other most.");
## The minimal object distance.
BUTTON['USE_INFMAX']=Draw.Toggle(" ",2,140,155,20,20,BUTTON['USE_INFMAX'].val,"Use the max value.");
BUTTON['INFMAX']=Draw.Number("max: ",2,160,155,90,20,BUTTON['INFMAX'].val,0.000,100.0,"The distance at which objects start to avoid each other.");
## The minimal object distance.
BUTTON['USE_LIM']=Draw.Toggle(" ",2,20,130,20,20,BUTTON['USE_LIM'].val,"Use the lim value.");
BUTTON['LIM']=Draw.Number("lim: ",2,40,130,90,20,BUTTON['LIM'].val,0.000,100.0,"The maximum distance any object wants to be from the midpoint of the swarm.");
## mayor functions
DrawTitle("container",115);
## Object name
BUTTON['USE_CONTAINER']=Draw.Toggle(" ",2,20,90,20,20,BUTTON['USE_CONTAINER'].val,"Use the obname string.");
BUTTON['CONTAINER']=Draw.String("avoid: ",2,40,90,100,20,BUTTON['CONTAINER'].val,128,"The word to look for in the name of all objects to animate.");
## Get selected object button
Draw.Button("SET",5,140,90,30,20,"Get the name of the currently selected object!");
BUTTON['CONDIST']=Draw.Number("dist: ",2,180,90,70,20,BUTTON['CONDIST'].val,0.000,100.0,"The distance at which objects start to avoid the container.");
## mayor functions
DrawTitle("naming variable",75);
## Object name
BUTTON['USE_OBNAME']=Draw.Toggle(" ",2,20,50,20,20,BUTTON['USE_OBNAME'].val,"Use the obname string.");
BUTTON['OBNAME']=Draw.String("obname: ",2,40,50,130,20,BUTTON['OBNAME'].val,128,"The word to look for in the name of all objects to animate.");
## Get selected object button
Draw.Button("SET",4,170,50,30,20,"Get the name of the currently selected object!");
BUTTON['ANIMPARENT']=Draw.Toggle("anim",2,210,50,40,20,BUTTON['ANIMPARENT'].val,"Deselect if you want to chase the object (parent) with this name and it's been pre-animated.");
## mayor functions
DrawTitle("mayor functions",35);
## Reset gui button
Draw.Button("RUN",1,20,10,150,20,"Run the script!");
## Exit button
Draw.Button("EXIT",3,180,10,70,20,"Exit the script!");