diff --git a/Sources/SwiftGodot/MacroDefs.swift b/Sources/SwiftGodot/MacroDefs.swift index ff1b12c94..33b2edd5a 100644 --- a/Sources/SwiftGodot/MacroDefs.swift +++ b/Sources/SwiftGodot/MacroDefs.swift @@ -180,7 +180,7 @@ public macro NativeHandleDiscarding() = #externalMacro(module: "SwiftGodotMacroL /// /// - Important: This property will become a computed property, and it cannot be reassigned later. @attached(accessor) -public macro SceneTree(path: String) = #externalMacro(module: "SwiftGodotMacroLibrary", type: "SceneTreeMacro") +public macro SceneTree(path: String? = nil) = #externalMacro(module: "SwiftGodotMacroLibrary", type: "SceneTreeMacro") /// Defines a Godot signal on a class. ///