Create custom UI

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By AlexIva

Hello everyone!

I am trying to create custom CheckBox using this article Создание плагинов — Документация Godot Engine (4.x) на русском языке

I have created a file res://addons/rgCheckBox/

extends CheckBox
class_name rgCheckBox

func _ready():

I have created a file res://addons/rgCheckBox/

extends EditorPlugin

func _enter_tree():
	add_custom_type("rgCheckBox", "CheckBox", preload(""), preload("icon.png"))

func _exit_tree():

The problems:

  1. I can not see rgChechBox in Editor control list
  2. When I try to enable this custom component in [Project] > [Project Settings…] > [Plugins] then I get the message
Unable to load addon script from path: 'res://addons/rgCheckBox/' Base type is not EditorPlugin.

As I understand in Godot script multiple inheritance is not supported (or is supported but I did not find this syntax) - so how can I inherit my custom component from EditorPlugin and standard UI component in the same time? Or what am I generally doing wrong?

Thanks in advance

:bust_in_silhouette: Reply From: Wakatta


You have set up your plugin configuration in and as such this is what your plugin file should point to


In your plugin.cfg file change the line





To prevent the error in future name your config file as or a naming scheme like