bcirpggithubmirror/GodotUserInterface/NewGame.gd

9 lines
229 B
GDScript3
Raw Normal View History

2021-09-27 00:15:52 +00:00
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")