How to detect release of mousebutton on core gui?

Hi,

I’m using ContextActionService and have a system where if i release the mousebutton it destroys some stuff. However when i hover over the chat, and release the mousebutton, it doesnt run the code anymore:


How can i avoid this from happening?

Thanks in advance!

1 Like

mouse.Button1Up should fix this