r/tasker • u/anuraag488 • Oct 24 '25
How To [Project] FloatingMenu Assistive Touch
Latest Tasker Beta build required
Changelog
Screenshots
Supported Gestures
- Tap – Quick press and release → opens the floating menu and triggers a
tapevent. - Long Press – Hold for the configured duration (
%long_click_threshold) without movement → enters drag mode. - Drag – After a long press, move to reposition the floating button (position saved per orientation).
- Swipe – Quick directional flick (detects up/down/left/right and distance in pixels).
- Swipe and Hold – Swipe partially, then hold → triggers
swipe_and_holdgesture. - Multi-Swipe – Continuous directional swipes (e.g.
up_right,down_left,left_right). - Rotation Change – Automatically detected → triggers
rotation_changeevent with current orientation.
Menu System
- Scrollable Menu – Unlimited items with auto-scrolling (max height = 60% of screen).
- Dynamic Positioning – Appears centered near the floating button and stays within screen bounds.
- Outside Tap Dismiss – Tap outside the menu to close instantly (with haptic feedback).
- Auto-Hide on Rotation – Menu closes automatically when device orientation changes.
Smart Positioning
Orientation-Aware Persistence – Saves/restores position independently for:
- portrait
- landscape
- reverse portrait
- reverse landscape
- Screen Clamping – Keeps floating button on-screen after drag or rotation.
Visual & Haptic Feedback
- Haptic Feedback – Short vibration for gestures and menu actions.
Animated Visual States:
- Idle: 50% opacity
- Touched: 100% opacity with shrink animation (0.7× scale)
- Released: Smooth transition back to idle
Lock Screen Behavior
- Auto-Hide When Locked – Hidden when on lock screen (unless
%show_on_lock_screen = true). - Reappears on Unlock – Automatically visible again after unlocking.
Gesture Handler Task
Every gesture sends data to the Tasker task “Floating Menu Gesture Handle” with these variables:
| Variable | Description / Example |
|---|---|
%gesture_type | Main gesture type (tap, swipe, drag, long_press, etc.) |
%direction | Gesture direction (up, down, left, right) |
%distance | Gesture movement distance (pixels) |
%swipe_pattern | For multi-swipe gestures (e.g. up_right, down_left, left_right) |
%menu_action | For menu selections (e.g. “Open Settings” → open_settings) |
%orientation | Device orientation (portrait, landscape, etc.) |
Configuration & Screen Events
Rotation Detection:
- Hides menu temporarily
- Restores saved position for new orientation
- Recalculates screen size
- Triggers
rotation_changeevent
Screen On/Off Handling:
- Resets visuals on wake
- Adjusts visibility based on lock state
Project Link
32
Upvotes
5
u/anuraag488 Oct 25 '25 edited 18d ago
Run "FloatingMenu Update Scripts" task to update local files
Changelog
2026-11-07
Added App Switching actions:
Added media control actions:
Improved Floating Widget overlay management:
2026-11-06
Added Keyboard Behavior options for the Floating Button and individual Edge Bars:
2026-11-05
2026-11-04
2026-11-02
2026-10-29
2026-10-28
2026-10-27
2026-10-16
2026-10-02
2026-07-25
2026-06-13
2026-05-31
2026-05-20
2026-05-09
2026-04-13
2026-04-08
2026-04-08
2025-11-22 (Run FloatingMenu Stop Task before updating else Force Stop Tasker after updating)
2025-11-21
2025-11-12 (Run FloatingMenu Stop Task before updating else Force Stop Tasker after updating as i have moved cleanup code inside FloatingMenu Code. This requires now 2 less Global Java Variables)
2025-11-06 (Run FloatingMenu Stop Task before updating else Force Stop Tasker after updating)
2025-11-03
2025-10-28
2025-10-27
2
u/lukatonii Direct-Purchase User Oct 24 '25
It keeps crashing Tasker for me everytime I press the Floating circle
I'm on Version 6.6.7-beta, is that not the correct one?
1
u/lukatonii Direct-Purchase User Oct 24 '25
Yeah that's what Ithought 🤔 strange...
1
u/pgeugene Oct 25 '25
can't download the tasker apk. Status is always downloading. Tried both wifi and data connection. Tasker crashed each time long click on circle button. I using Tasker v6.67 Thank you.
1
u/darrie7 Oct 25 '25
I don't know if its just on my phone but when the button is near the bottom, the menu goes off screen. Is it maybe possible to add a variable margin to the borders of the screen?
https://imgur.com/a/Sy5rjGg
1
u/mensageirodedeus Oct 25 '25
I installed Tasker 6.6.8 and downloaded the project. It's not working. Tasker 6.6.8 broke and stopped working. I had to uninstall and install 6.6.7 and restores the backup
1
u/binomat Oct 26 '25
Fantastic one !! - Especially the volume up/down - very useful
1
u/lareya Direct-Purchase User Oct 28 '25
works well on my S24+ , I'm assumng then you can put your own task in these to run? I will need to look at this more. Just installed it to see if it runs - yes 👍
1
u/sit1231 Nov 09 '25
u/anuraag488 Thanks for the awesome project share.
Is this possible to make the menu grid non-square which helps to create 3x1 or 1x3 grids.
1
u/darrie7 Nov 20 '25
Joao added new(?) Java feature (link) and released a new project which detects when the keyboard is showing or not showing. I am trying to use this to move the floating button away when the keyboard is showing by changing %FloatingMenuPosition using 'Variable Set' and then Perform Task: Floating Menu Start so it adopts this change. This causes the floating menu to bug and stop working when rotation is changed to landscape. The button remains on screen but cannot interact with it, it also seems to keep stacking more and more buttons on top of each other but none work
What is a better way to move the button in this case? Thanks
1
u/Former_Math_4309 Jun 13 '26
Questa app è fantastica. Solo che non riesco a regolare diverse cose... Quando per esempio imposto una scala del bottone, me la registra con la virgola invece del punto (1,8 invece di 1.8) e così non funziona... C'è qualcosa che possa fare?
1
u/anttovar Jul 24 '26
Hi dev,
I am using this wonderful project and I've found two problems.
The small problem is about dragging the button. I cannot drag it because every time the close button action is triggered. I have disabled any action for the long press event and that way I can place the button where I wish.
The big problem is about float numbers parameters. When I change any value the Java code crashes.
The problem is that values are saved as strings, but in Spanish the floating numbers use the comma as decimal symbol not the point. So when Java tries to cast the string "0,50" into float it crashes.
I can see that when I change a value in the config screen, the new value shown has a ',' instead of a '.'
This is what other user told you some message above. Maybe he didn't explained the problem clearly enough so you ask him for a screen copy. I hope you don't need it now.
Thanks.
2
u/ale3smm Oct 24 '25
amazing ! thanks for sharing !
2
u/AlanyYAB Aug 14 '26
This is such a useful project, especially the edge bars. If I could make a request it would be to add diagonal & diagonal + hold gestures. Though I'm not sure if that would require rewriting the gesture detection method, so maybe it's a REALLY big ask. If it's implemented perhaps a setting can be made to adjust the diagonal zone similar to Samsung's One Hand Operation + as shown here.
1
u/NoServiceMonk Feb 21 '26
This is amazing, fantastic, it's what I always wanted to do, but I was limited by the few options within the scenes. Thank you very much.
0
u/lukatonii Direct-Purchase User Oct 24 '25
No I'm using play version most of the time, direct purchase makes my bank app stop working
-3
u/Andrei_91 Oct 24 '25
I really appreciate your work but all of these gestures and even more can easily be accomplished with One Hand Operation+, now included in GoodLock 😁