Update docs

This commit is contained in:
Insality
2025-04-26 12:42:30 +03:00
parent 4f8be6ebdb
commit 336694cd1d
2 changed files with 3 additions and 3 deletions

View File

@@ -185,7 +185,7 @@ end
You can also use the root node ID or node directly, it will be cloned and used as a template:
```lua
self.my_widget = self.druid:new_widget(best_widget_in_the_world, "best_widget_in_the_world", "best_widget_in_the_world/root")
self.my_widget = self.druid:new_widget(best_widget_in_the_world, "best_widget_in_the_world", "root")
-- or
self.my_widget = self.druid:new_widget(best_widget_in_the_world, "best_widget_in_the_world", self.prefab)
```