- Edited
I've just made the swap from unity C# to Godots own coding language but currently struggling on a basic text change VIA script.
`
extends Node
var totalBlorbs:int = 0 ## Money full number
var blorbsText = "Main/BlorbsText"
func _ready():
pass
func _process(delta):
pass
func _on_button_pressed():
totalBlorbs = totalBlorbs + 1
blorbsText.text = totalBlorbs
`
Comes up with "Invalid set index 'text' (on base: 'String') with value of type 'String'.