The Godot Barn
Sign in
Sign in
Home
News & updates
Explore
Articles
Snippets
Shaders
Themes
Submit content
Sign in to submit content
Give or get help
Tutorials
Questions
Conversations
Coming soon!
input
Recent snippets tagged «input»
0
5
extends Node func _input(event: InputEvent) -> void: if event.is_action_pressed("fullscreen"): if get_window().mode == Window.MODE_FULLSCREEN: get_window().mode = Window.MODE_MAXIMIZED else: get_window().mode = Window.MODE_MAXIMIZED
ALT-Enter fullscreen toggle
zegenie
Jan 28th, 2025
Make your game fullscreen toggleable by reacting to ALT+Enter
Godot
4.x
GDScript
shortcuts
input
fullscreen
Filters
Contents containing
Language
GDScript
C#
Both
License
All licenses
CC-BY
CC0
GPLv3
AGPLv3
MIT
Unlicense
Godot version(s)
All versions
Godot 3.x
Godot 4.x
Godot 4.0
Godot 4.1
Godot 4.2
Godot 4.3
Godot 4.4
Reset filters
Apply filters
Popular tags recently
functions
first-person
bus
UI
log
mesh
primitive
debug
frames
camera3d
controller
behavior
boids
flock
graphics
Please wait ...
Okay
Okay
No
Yes
Okay