I'm a total noob. it's like every time I try to script anything it won't work...
Example, how would I set the visibility on a sprite using button?
extends Panel
func _on_button_pressed():
get_node("Sprite").set_visible()
func _ready():
get_node("Button").connect("pressed",self,"_on_button_pressed")
So that won't do anything ...
And also what does the (self) mean? Thanks ...