mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
9 lines
213 B
GDScript
9 lines
213 B
GDScript
extends CenterContainer
|
|
|
|
func _process(delta):
|
|
if Input.is_action_just_pressed("pause"):
|
|
_on_pause_button_pressed()
|
|
|
|
func _on_pause_button_pressed():
|
|
get_tree().paused = !get_tree().paused
|
|
visible = !visible
|