# Screen edge mouse gestures

**URL:** <https://community.folivora.ai/t/screen-edge-mouse-gestures/18572>\
**Category:** Feature Requests\
**Tags:** mouse\
**Created:** [August 30, 2020, 12:20pm UTC](https://community.folivora.ai/t/screen-edge-mouse-gestures/18572 "2020-08-30T12:20:17Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Walnut](https://community.folivora.ai/user_avatar/community.folivora.ai/walnut/32/24727_2.png) [@Walnut](https://community.folivora.ai/u/Walnut)\
**Post date:** [August 30, 2020, 12:20pm UTC](https://community.folivora.ai/t/screen-edge-mouse-gestures/18572/1 "2020-08-30T12:20:17Z")

</div>

I think the "_move mouse to top/bottom/left/right edge of screen_" triggers could be greatly improved by incorporating simple gestures into them.

I get a lot of use from the "_move mouse to corner_" triggers, as they are incredibly quick and easy to hit. Although the "_move mouse to edge of screen_" triggers are very accessible, I don't think they're very useful (at least not without using modifier keys) as hitting the screen edges through normal use is such a common thing in normal use, especially when using the dock and menu.

**My suggestion for a set of new triggers is simple gestures that are begun when hitting the screen edge**. For example, if using the right hand edge of the screen: Once the cursor hits the edge of the screen there are only three directions it can go – up, down, and left (away from the edge, which there is already a trigger available for). Here I am talking about making use of the up/down movements the mouse can make.

At its simplest, this gives us two new triggers per edge:

1. Cursor hits the right edge and then moves up
2. Cursor hits the right edge and then moves down

The two directions (eg up/down for the right edge) give two available triggers, eight in total for all four edges. But many more are available without things getting complicated. For example:

1. Cursor hits right edge of screen, moves up (moving left again away from edge terminates the gesture)
2. Cursor hits right edge of screen, moves up until hitting top corner
3. Cursor hits right edge of screen, moves up and then down

This gives us three new triggers per direction per edge, 24 in total. These triggers would be very easy to activate as they **don't require any mouse button or modifier key to be pressed, and unlike conventional mouse gestures, there would be little worry about accuracy of the gesture as it is only operating on one dimension of movement**. These can be activated reliably and almost instantly with a slight flick of the wrist.

Logical conditions to be set to avoid accidental triggering would be:

1. A minimum distance to be moved before the command is triggered (eg 100 pixels)
2. Timeout (so the minimum distance would need to be crossed within eg 0.5 seconds)

**In addition to this, consider that the screen corners could behave in the same way.** For example, instead of just having "_mouse moves to top right corner_" as a trigger, there could also be "_mouse moves to top right corner then moves left_" and "_mouse moves to top-right corner then moves down_", giving eight new triggers in total.

What I have outlined here gives potentially dozens of new triggers, all very easily activated, and doesn't seem that different to the way BTT currently operates, given that there are already similar triggers available, such as "_move mouse away from screen edge_" or "_move mouse away from corner_". What I suggest seems like just a refinement to these existing triggers.

Sorry this was so long, I thought it best to explain the idea properly.

Thanks.

---

<div class="post-metadata">

**Author:** ![patrickrushton](https://community.folivora.ai/user_avatar/community.folivora.ai/patrickrushton/32/2400_2.png) [@patrickrushton](https://community.folivora.ai/u/patrickrushton)\
**Post date:** [November 6, 2021, 9:36am UTC](https://community.folivora.ai/t/screen-edge-mouse-gestures/18572/2 "2021-11-06T09:36:46Z")

</div>

> [@Walnut](#):
>
> I think the "_move mouse to top/bottom/left/right edge of screen_" triggers could be greatly improved by incorporating simple gestures into them.

I don't see any triggers for left/right edge, only top/bottom and the screen corners. How are you accessing these?

---

<div class="post-metadata">

**Author:** ![Walnut](https://community.folivora.ai/user_avatar/community.folivora.ai/walnut/32/24727_2.png) [@Walnut](https://community.folivora.ai/u/Walnut)\
**Post date:** [November 6, 2021, 10:19am UTC](https://community.folivora.ai/t/screen-edge-mouse-gestures/18572/3 "2021-11-06T10:19:47Z")

</div>

Upon checking it seems you're correct. Perhaps there were options for left/right edges when I made that post a year ago which have since been deprecated, but most likely I just didn't notice that there were only options for top/bottom and not left/right edges when I was writing up my suggestion. It seems logical that all edges would be available so I guess I just made an assumption. Still, I wish there was some interest in this suggestion, using these gestures would be so quick and powerful. Oh well.

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [November 6, 2021, 11:00am UTC](https://community.folivora.ai/t/screen-edge-mouse-gestures/18572/4 "2021-11-06T11:00:59Z")

</div>

I think I just forgot these 🙂 will add them soon.

---

<div class="post-metadata">

**Author:** ![aesterling](https://community.folivora.ai/letter_avatar_proxy/v4/letter/a/e68b1a/32.png) [@aesterling](https://community.folivora.ai/u/aesterling)\
**Post date:** [November 12, 2021, 4:27pm UTC](https://community.folivora.ai/t/screen-edge-mouse-gestures/18572/5 "2021-11-12T16:27:23Z")

</div>

Great to hear this! 😄 I'm looking forward to left/right edge triggers. It would solve my similar request: [Trigger request: Move mouse to left/right edge](https://community.folivora.ai/t/trigger-request-move-mouse-to-left-right-edge/24660)

---

<div class="post-metadata">

**Author:** ![aesterling](https://community.folivora.ai/letter_avatar_proxy/v4/letter/a/e68b1a/32.png) [@aesterling](https://community.folivora.ai/u/aesterling)\
**Post date:** [November 30, 2021, 4:33pm UTC](https://community.folivora.ai/t/screen-edge-mouse-gestures/18572/6 "2021-11-30T16:33:05Z")

</div>

Eagerly awaiting these triggers 😄 I check every day for an update in hopes that they've been added. Please don't forget about them. 🙏 Thanks!

---

<div class="post-metadata">

**Author:** ![aesterling](https://community.folivora.ai/letter_avatar_proxy/v4/letter/a/e68b1a/32.png) [@aesterling](https://community.folivora.ai/u/aesterling)\
**Post date:** [January 21, 2022, 4:54pm UTC](https://community.folivora.ai/t/screen-edge-mouse-gestures/18572/7 "2022-01-21T16:54:38Z")

</div>

@Andreas_Hegenberg You've been releasing wonderful features and updates. 😀 Any idea when you might be able to add the "_move mouse to left/right edge of screen_ " triggers? Thank you.

---

<div class="post-metadata">

**Author:** ![casxcaa](https://community.folivora.ai/letter_avatar_proxy/v4/letter/c/b3f665/32.png) [@casxcaa](https://community.folivora.ai/u/casxcaa)\
**Post date:** [February 14, 2023, 7:00pm UTC](https://community.folivora.ai/t/screen-edge-mouse-gestures/18572/8 "2023-02-14T19:00:23Z")

</div>

Curious about the status of these requested triggers. It would be great to have these triggers for the left and right edge @Andreas_Hegenberg.

 ![image](https://community.folivora.ai/uploads/default/original/3X/5/d/5d247137ec1e932c81fbbf28805190aa2dbc0d85.png)

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [February 20, 2023, 2:44pm UTC](https://community.folivora.ai/t/screen-edge-mouse-gestures/18572/9 "2023-02-20T14:44:32Z")

</div>

Triggers for moving to the left and right edges, and for moving away from them, have been added in 4.030 alpha (currently uploading should be available in 10 minutes)

---

<div class="post-metadata">

**Author:** ![aesterling](https://community.folivora.ai/letter_avatar_proxy/v4/letter/a/e68b1a/32.png) [@aesterling](https://community.folivora.ai/u/aesterling)\
**Post date:** [February 20, 2023, 3:11pm UTC](https://community.folivora.ai/t/screen-edge-mouse-gestures/18572/10 "2023-02-20T15:11:49Z")

</div>

@Andreas_Hegenberg, thank you for adding these! I just installed 4.030 alpha and the new triggers are working. I'll continue to test it this week. 👍

---

<div class="post-metadata">

**Author:** ![Frank1](https://community.folivora.ai/letter_avatar_proxy/v4/letter/f/a87d85/32.png) [@Frank1](https://community.folivora.ai/u/Frank1)\
**Post date:** [February 20, 2023, 3:16pm UTC](https://community.folivora.ai/t/screen-edge-mouse-gestures/18572/11 "2023-02-20T15:16:36Z")

</div>

@Andreas_Hegenberg If possible, a delay would be useful to avoid accidentally triggering an action. Something like this.

 ![image](https://community.folivora.ai/uploads/default/original/3X/3/6/36155d027cd19031489aafb34aabdd715e39393d.png)

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [February 20, 2023, 3:17pm UTC](https://community.folivora.ai/t/screen-edge-mouse-gestures/18572/12 "2023-02-20T15:17:38Z")

</div>

@frank1 ah I forgot to activate that UI element. Should be available in 4.031 in a few minutes

---

<div class="post-metadata">

**Author:** ![Frank1](https://community.folivora.ai/letter_avatar_proxy/v4/letter/f/a87d85/32.png) [@Frank1](https://community.folivora.ai/u/Frank1)\
**Post date:** [February 20, 2023, 3:30pm UTC](https://community.folivora.ai/t/screen-edge-mouse-gestures/18572/13 "2023-02-20T15:30:43Z")

</div>

By the way, a "delay and wait for.... action" that cancels a macro or continues it in another way if the "wait for" does not come, does not yet exist to my knowledge. Or am I wrong?

Anyway, that would be very useful ... at some point 🙂

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [February 20, 2023, 3:34pm UTC](https://community.folivora.ai/t/screen-edge-mouse-gestures/18572/14 "2023-02-20T15:34:53Z")

</div>

Not as an action. It can be done using the Apple Script `trigger_named_async_without_response` and `cancel_delayed_named_trigger_execution`  
functions provided by BTT though.

E.g.

```auto
tell application "BetterTouchTool"
trigger_named_async_without_response "TheNameOfTheNamedTrigger" delay 5
end tell

```

To cancel:

```auto
tell application "BetterTouchTool"
cancel_delayed_named_trigger_execution "TheNameOfTheNamedTrigger"
end tell

```

---

<div class="post-metadata">

**Author:** ![Frank1](https://community.folivora.ai/letter_avatar_proxy/v4/letter/f/a87d85/32.png) [@Frank1](https://community.folivora.ai/u/Frank1)\
**Post date:** [February 20, 2023, 3:40pm UTC](https://community.folivora.ai/t/screen-edge-mouse-gestures/18572/15 "2023-02-20T15:40:29Z")

</div>

Mmm, ok, but since I am not a coder and have no idea about Apple Scripts or any scripts I leave that to others 😅

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [February 20, 2023, 3:43pm UTC](https://community.folivora.ai/t/screen-edge-mouse-gestures/18572/16 "2023-02-20T15:43:07Z")

</div>

It's basically just replacing "TheNameOfTheNamedTrigger" with your named trigger name 😉  
But I'll add a UI for this at some point 🙂

---

<div class="post-metadata">

**Author:** ![Frank1](https://community.folivora.ai/letter_avatar_proxy/v4/letter/f/a87d85/32.png) [@Frank1](https://community.folivora.ai/u/Frank1)\
**Post date:** [February 20, 2023, 3:59pm UTC](https://community.folivora.ai/t/screen-edge-mouse-gestures/18572/17 "2023-02-20T15:59:46Z")

</div>

Ah, wait it seems easier than I thought. Run "Named Trigger" 1 or 2 right? If nothing happens in 5 s?

---

<div class="post-metadata">

**Author:** ![aesterling](https://community.folivora.ai/letter_avatar_proxy/v4/letter/a/e68b1a/32.png) [@aesterling](https://community.folivora.ai/u/aesterling)\
**Post date:** [February 20, 2023, 4:14pm UTC](https://community.folivora.ai/t/screen-edge-mouse-gestures/18572/18 "2023-02-20T16:14:58Z")

</div>

@Andreas_Hegenberg Is it possible to have a slightly faster trigger response or is that too resource intensive?

I have the delay set to zero but the mouse pointer still has to exist at the screen edge for a moment longer than I'd like before triggering.

I'm trying to mimic macOS Hot Corners where I can whip the mouse to the screen edge and back without any pause.

Here's a quick screen recording that shows how quickly I'm trying to trigger an action using "Move Mouse To Left Edge Of Screen." You can see it works if I'm a tiny bit slower. I also have macOS Hot Corner enabled in the video for speed comparison.

(BTT v4.031, Apple M1 Max, Ventura 13.2.1)

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [February 20, 2023, 4:15pm UTC](https://community.folivora.ai/t/screen-edge-mouse-gestures/18572/19 "2023-02-20T16:15:46Z")

</div>

I can add it as an option, but it does cause some extra CPU usage. Currently the mouse position is checked every 0.2 seconds I think

---

<div class="post-metadata">

**Author:** ![aesterling](https://community.folivora.ai/letter_avatar_proxy/v4/letter/a/e68b1a/32.png) [@aesterling](https://community.folivora.ai/u/aesterling)\
**Post date:** [February 20, 2023, 4:16pm UTC](https://community.folivora.ai/t/screen-edge-mouse-gestures/18572/20 "2023-02-20T16:16:33Z")

</div>

I'd love the option and would be willing to sacrifice some CPU resources for faster response time. Thank you!

[Next page](https://community.folivora.ai/t/screen-edge-mouse-gestures/18572.md?page=2)
