-
Notifications
You must be signed in to change notification settings - Fork 0
seebs/libdraggable
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
LibDraggable exists to make windows draggable. HOW IT WORKS: window:GetBorder().Event.MouseMove = YourMouseMoveFunction window:GetBorder().Event.LeftUp = YourLeftUpFunction Library.LibDraggable.dragify(window, callback) LibDraggable checks for mousedowns in the border of the window (as in window:GetBorder()). If it has detected one, but hasn't detected a LeftUp event, it intercepts mousemoves. If no dragging is happening, it will pass events on to the previous values of MouseMove and LeftUp, though I don't know why you'd care. If you provide a callback function, it'll be called as callback(window, x, y) whenever there's a move.
About
LibDraggable -- make windows draggable (not very well)
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published