Guide to the Godot game engine/Plugins/Making your first plugin/Docks

Dock
A dock is a side panel. Examples are  and.

First, to create a bottom panel, you need to make a UI for it:
 * 1) Create a scene and choose, and rename the root Control node to.
 * 2) Save it inside your plugin folder, in the same place as the plugin script, under the name "dock.tscn".
 * 3) Select your Control, press  from the top of the screen, and press   from the drop down menu that appears.
 * 4) With the Control still selected, expand  in the Inspector and change   to 60 (or some larger value) to ensure your UI appears with a non zero size.
 * 5) Create the main UI as a child of the VBoxContainer.

Now, open your plugin's main script, and type the following code:

dock: :  dock =. :  (dock) dock.