Skip to main content

node_path_target

Function node_path_target 

Source
pub fn node_path_target(
    db: &dyn Db,
    pos: FilePosition,
) -> Option<NodePathTarget>
Expand description

If the cursor sits on a node-path expression ($Path/%Unique/get_node("…")) that resolves against the owning scene, the target node’s declaration in the .tscn. None otherwise.