Skip to content

Custom Panels

Vincent Gerlach edited this page Sep 8, 2023 · 2 revisions

Specify the name of the Panel this Text/Button is grouped to. The syntax is simple, write in the first line of the script a new comment with the syntax:

#STB-Panel-{name}

The name can contain spaces and can be terminated with ///. This can also be used to add Areas to the Button.

Example

#STB-Panel-This is my Panel

<your code goes here>
#STB-Panel-My Panel /// #STB-Area-3D_Viewport

<your code goes here>

Clone this wiki locally