diff --git a/doc/classes/EditorInspector.xml b/doc/classes/EditorInspector.xml
index 8c7e935dd23..0bbd55f0075 100644
--- a/doc/classes/EditorInspector.xml
+++ b/doc/classes/EditorInspector.xml
@@ -14,6 +14,14 @@
+
+
+
+
+ Shows the properties of the given [param object] in this inspector for editing. To clear the inspector, call this method with [code]null[/code].
+ [b]Note:[/b] If you want to edit an object in the editor's main inspector, use the [code]edit_*[/code] methods in [EditorInterface] instead.
+
+
diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp
index d3026bc6113..dfc3d00d974 100644
--- a/editor/editor_inspector.cpp
+++ b/editor/editor_inspector.cpp
@@ -4648,6 +4648,7 @@ void EditorInspector::_handle_menu_option(int p_option) {
}
void EditorInspector::_bind_methods() {
+ ClassDB::bind_method(D_METHOD("edit", "object"), &EditorInspector::edit);
ClassDB::bind_method("_edit_request_change", &EditorInspector::_edit_request_change);
ClassDB::bind_method("get_selected_path", &EditorInspector::get_selected_path);
ClassDB::bind_method("get_edited_object", &EditorInspector::get_edited_object);