str(level) error

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

Hi, im a beginner and new to Godot and was very confused with this error and i couldnt fix it.

hope anyone can help to solve this T-T

:bust_in_silhouette: Reply From: jgodfrey

Your levelText variable is not set to a valid reference. Looking at your scene tree and your script, it looks like you have the wrong path.

The correct path would be: "BG/LevelText"