pegchamp/Menu/Buttons/Fullscreen/FullscreenButton.gd
2021-09-14 12:22:39 +02:00

6 lines
123 B
GDScript

extends TextureButton
func _on_FullscreenButton_toggled(_button_pressed):
OS.window_fullscreen = !OS.window_fullscreen