untitled-plant-game/World/FullscreenButton.gd
2021-12-04 17:45:59 +01:00

6 lines
116 B
GDScript

extends TextureButton
func _on_FullscreenButton_pressed() -> void:
OS.window_fullscreen = !OS.window_fullscreen