retrace/UI/PlayButton.gd

9 lines
151 B
GDScript3
Raw Normal View History

extends Button
func _ready():
pass # Replace with function body.
func _on_PlayButton_pressed():
get_tree().change_scene("res://Level/World.tscn")