SceneTree(path:)

    A macro that finds and assigns a node from the scene tree to a stored property.

    MacroDefs.swift:217
    @attached(accessor) macro SceneTree(path: String? = nil)

    Use this to quickly assign a stored property to a node in the scene tree.

    class MyNode: Node2D {
        @SceneTree(path: "Entities/Player")
        var player: CharacterBody2D?
    }