From d7c347f432e7fd645591cd04ae32842123427f0c Mon Sep 17 00:00:00 2001 From: sindri <33976067+isarsindri@users.noreply.github.com> Date: Mon, 2 Mar 2026 13:29:17 +0100 Subject: [PATCH] Update 12-actions.md --- docs/tut/crash-course/12-actions.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/tut/crash-course/12-actions.md b/docs/tut/crash-course/12-actions.md index e4b1318..2cbeab0 100644 --- a/docs/tut/crash-course/12-actions.md +++ b/docs/tut/crash-course/12-actions.md @@ -62,7 +62,7 @@ Creates an Action that makes a GuiObject draggable using input events (mouse and ```lua draggable(opts: DraggableOptions?) -> Action - +``` DraggableOptions • axis: "x" | "y" | "both" (default "both") Constrains dragging to a single axis or allows free movement. @@ -83,6 +83,8 @@ draggable() must be applied to an instance that: If applied to a non-GuiObject, the Action should be treated as a no-op Example: Basic draggable panel + +```lua local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") @@ -118,3 +120,4 @@ local function App() end mount(App, playerGui) +```