godotengine / godot-demo-projects

Demonstration and Template Projects
https://godotengine.org
MIT License
5.65k stars 1.58k forks source link

what mean ^ in ^"xxx"? #1087

Closed Heltman closed 1 month ago

Heltman commented 1 month ago

Which demo project is affected:

Dodge the Creeps

OS/device including version:

Issue description:

Main.md contain contain code: https://github.com/godotengine/godot-demo-projects/blob/7223aec0012ba5f89b7f9f28a65e91abb30be0cc/2d/dodge_the_creeps/Main.gd#L29

Screenshots of issue:

Heltman commented 1 month ago

@aaronfranke

aaronfranke commented 1 month ago

That is a NodePath literal. See https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_basics.html#literals