MouseButton1Down does not disconnect after sliding off

On Roblox mobile and PC, the MouseButton1Down event is expected to trigger when a button is pressed and stop when the finger
or mouse is released, and the MouseButton1Up event is expected to trigger upon release. However, if the user presses and holds the button, then drags their finger or mouse off the button to another area of the screen before releasing, the MouseButton1Down event does not disconnect, and the MouseButton1Up event does not fire at all.

Steps to Reproduce:

  1. Open a Roblox game on a mobile device.
  2. Create a GUI button with both MouseButton1Down and MouseButton1Up connection scripts.
  3. Press and hold the button to trigger MouseButton1Down.
  4. While still holding, slide your finger or mouse off the button to another part of the screen.
  5. Release your finger or mouse.

Observed Behavior:

  • The MouseButton1Down event remains active even after releasing the finger. or mouse
  • The MouseButton1Up event does not trigger upon release if the finger is not on the button nor the mouse.

System Information:

  • Device: Samsung S23+ (Mobile) and Windows PC (AMD Ryzen 5600x 6-Core Processor, 16.0 GB RAM, AMD Radeon RX 6700 XT)
  • Operating System: Samsung Galaxy S23+ (Mobile), Windows 10 (PC)

Expected behavior

  • The MouseButton1Down event should disconnect when the finger or mouse is released, regardless of whether it remains on the button or has slid off.
  • The MouseButton1Up event should fire when the finger or mouse is released, regardless of its position relative to the button.
1 Like

this isnt to do with roblox, its a system thing with all operating systems that just detects clicks once the click action has ended, not when it starts. this cant be fixed unless all operating systems change it which i doubt theyd do since i think its intended in case of misclicks (or scrolling if ur on mobile)

this is even a thing on console and pc

No its something that roblox has, all events in roblox sometimes dont work, that includes animation events too