Document draggable() action for GuiObject

Add documentation for draggable() action in 12-actions.md
This commit is contained in:
sindri 2026-03-02 13:25:21 +01:00 committed by GitHub
parent 3b2794c6d5
commit bab3cfd920
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -53,3 +53,12 @@ instance.Text = "foo" -- "foo" will be printed by the effect
The source `output` will be updated with the new property value any time it is
changed externally.
# draggable()
Creates an Action that makes a GuiObject draggable using input events (mouse and touch). This helper is intended for reuse across components and does not use Robloxs deprecated `.Draggable` property.
## Type
```lua
draggable(opts: DraggableOptions?) -> Action