Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
![Discrete Swipe Screen Area Plugin hero image](https://img.godotassetlibrary.com/Lxq_whMazkpwQPYTfokUYLuztl9_tjXa0N75Kg4JlT4/rs:fit:1920:1080:0/g:no/aHR0cHM6Ly9naXRodWIuY29tL0pqb255LWRldi9zd2lwZS1zY3JlZW4tYXJlYS1wbHVnaW4vcmF3L21haW4vaW1hZ2VzL2ljb24ucG5n.webp)
Quick Information
![Discrete Swipe Screen Area Plugin icon image](https://img.godotassetlibrary.com/VoGi6j0RxAM18Giu8U8IfWlB1tqxr0_RYSh042xy9yc/rs:fit:50:50:0/g:no/aHR0cHM6Ly9naXRodWIuY29tL0pqb255LWRldi9zd2lwZS1zY3JlZW4tYXJlYS1wbHVnaW4vcmF3L21haW4vaW1hZ2VzL2ljb24ucG5n.webp)
This plugin add a Node to manage discrete swipes on touchscreens devices as Input actions.
Godot Swipe Screen Area Plugin
Description
This plugin add a Node to manage discrete swipes on touchscreens devices as Input actions.
How to use
extract swipe_controller folder inside the res://addons directory on your Godot project.
open Project > Project Settings and select Plugin tab. Check enable to activate the plugin.\n
add an SwipeScreenArea to your scene.
If want to test on Desktop environment open Project > Project Settings > Pointing and check Emulate Touch From Mouse option.
SwipeScreenArea node
You can configure some variables inside inspector
Debug: Enable draw references in execution.
Reset on finish: If is checked, scan next swipe after detect the last.
Input Actions: The swipe's actions (input actions events defined in Input Map).
Area size: Size of area detection swipe in px.
Color area debug: Set color of size area reference.
Color angle separator: Set color of swipes's directions separators.
Angle offset: Change angle of swipes's directions detections.
Min lenght vector: Define the distance amount to determine detected swipe.
License
This plugin falls under the MIT License
This plugin add a Node to manage discrete swipes on touchscreens devices as Input actions.
Reviews
Quick Information
![Discrete Swipe Screen Area Plugin icon image](https://img.godotassetlibrary.com/VoGi6j0RxAM18Giu8U8IfWlB1tqxr0_RYSh042xy9yc/rs:fit:50:50:0/g:no/aHR0cHM6Ly9naXRodWIuY29tL0pqb255LWRldi9zd2lwZS1zY3JlZW4tYXJlYS1wbHVnaW4vcmF3L21haW4vaW1hZ2VzL2ljb24ucG5n.webp)
This plugin add a Node to manage discrete swipes on touchscreens devices as Input actions.