I am new to this engine, and I joined Brackeys game jam 2022.1.
I was trying to do some ui, when I came with the idea of making a scale animation for the TextureButton Node.
The TextureButton node doesn't have transform. So I can't use scale.
I did an area 2d to detect when mouse entered.
What I tried to do looks something like this:
func _on_Area2D_mouse_entered():
self.set_size(21, 21)
And gives me error.