bcirpggithubmirror/GodotUserInterface/NewGame.gd
2021-09-26 20:15:52 -04:00

9 lines
229 B
GDScript

extends Label
func _ready():
pass # Replace with function body.
func _on_NewGame_gui_input(event):
if (event is InputEventMouseButton && event.pressed && event.button_index == 1):
get_tree().change_scene("res://temp.tscn")