
Godot Input Handler System
A downloadable system
Download NowName your own price
Take control of your input pipeline with a deterministic, modular, and race-condition-free input handler for Godot 4.
Features
- No more "ghost inputs" - stop multiple scripts from reacting to the same input.
- No more spaghetti code - Move logic out of player scripts and into modular subhandlers.
- Deterministic order - UI, Menus, and Gameplay are handled in the exact order you set in the Scene Tree.
How to Use
- Download the input_handler.gd and input_subhandler.gd scripts and put them inside your Godot game's Assets directory.
- Now these will appear as
InputHandlerandInputSubhandlerinstances when you go to add a new Node to your game. - Add the
InputHandlerto the game (either directly to the top or inside your player). - Add a
InputSubhandlerand extend its script. - Add your activation actions in the
InputSubhandler's properties. Thekeywill be a valid action name from your game'sInput Mapand thevaluewill be an activation mode, the options are:Just Pressed,Just Released,Pressed Continuous. - Override the
_on_activate(_event: InputEvent) -> InputHandler.InputHandledStatemethod to your liking. Example method to make sure it works:
How to Support
This project is open-source (MIT License). If it saved you hours of debugging input race conditions, consider supporting my studies and development by buying me a coffee or donating here on itch.io! Your support helps me keep this updated and create more high-quality game dev tools.
| Updated | 3 days ago |
| Published | 4 days ago |
| Status | Released |
| Category | Assets |
| Author | soki |
| Made with | Godot |
| Tags | 2D, 3D, gdscript, Godot, godot-4, input, input-handler, input-manager, No AI, Open Source |
| Code license | MIT License |
| Links | GitHub, Godot Asset Library |
Download
Download NowName your own price
Click download now to get access to the following files:
input_subhandler.gd 1.4 kB
input_handler.gd 2.3 kB
Example Godot Project 21 kB
Development log
- Godot Input Handler v1.1.0 Changelog3 days ago
- First Release of My Godot Input Handler3 days ago




Leave a comment
Log in with itch.io to leave a comment.