It is a simple variable that I need to convert to a string.

Code is (Sorry for wrong formatting.):

onready var label = $Label
var amount = 0;

# Called when the node enters the scene tree for the first time.
func _ready():
	pass # Replace with function body.


# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
	#amount + 1
	
	label.text =  amount + "/7"
	
	var inpVec = get_local_mouse_position()
	move_and_slide(inpVec * delta * 200)

Fixed the formatting.

---

For the line 13 try something like:

label.text =  str(amount + "/7")

or

label.text =  String(amount + "/7")

I think it should be the former but I might misrecall.

@Megalomaniak said: For the line 13 try something like:

label.text =  str(amount + "/7")

or

label.text =  String(amount + "/7")

I think it should be the former but I might misrecall.

Either works I think, but str is what I remembered right off.

2 years later