Hi All,
I want to make a simple calculater, so I started with getting the output after the user types something in the LineEdit node. But the output isnt what it should be instead it is "Object ID: 1139".
My code is as following:
extends Node
onready var ValueOne = $ValueOne
onready var ValueTwo = $ValueTwo
func ready():
setprocess_input(true)
func onButtonbuttonup() -> void:
ValueOne.gettext()
var Val1 = str(ValueOne)
$Answer.settext(Val1)