What is the meaning of @ in get_node?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By MikeMikeMike

Hi…,

onready var ui = $UI
onready var main = ui.get_node( @"Main" )

What is the @ for?

Thanks

Mike

:bust_in_silhouette: Reply From: Bernard Cloutier

NodePath or StringName

Replaced by ^ and & in godot 4

thank you Bernard

MikeMikeMike | 2021-12-17 20:49