mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Document draggable() action for GuiObject
Add documentation for draggable() action in 12-actions.md
This commit is contained in:
parent
3b2794c6d5
commit
bab3cfd920
1 changed files with 9 additions and 0 deletions
|
|
@ -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
|
The source `output` will be updated with the new property value any time it is
|
||||||
changed externally.
|
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 Roblox’s deprecated `.Draggable` property.
|
||||||
|
|
||||||
|
## Type
|
||||||
|
|
||||||
|
```lua
|
||||||
|
draggable(opts: DraggableOptions?) -> Action
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue