Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

Commit 7fe1e5b

Browse files
committed
Fix api docs
1 parent b61542a commit 7fe1e5b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/create.lua

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
@function create
44
@param className string -- The class name of the Instance to create
55
@param props CreateProps
6+
@return Instance -- The created instance
67
@tag utilities
78
89
A function that creates an Instance tree.
@@ -12,6 +13,8 @@
1213
- Numerical keys are interpreted as children
1314
- Function values are interpreted as event handlers
1415
16+
This function doesn't do anything special. It just creates an instance.
17+
1518
```lua
1619
create("Frame", {
1720
BackgroundTransparency = 1,

src/widgets/arrow.lua

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
@tag widgets
55
@param from Vector3 | CFrame | BasePart
66
@param to Vector3 | BasePart | nil
7+
@param color Color3? -- Optional color. Random if not specified.
78
89
- `arrow(from: Vector3, to: Vector3)` -> Creates an arrow between `from` and `to`
910
- `arrow(point: Vector3)` -> Creates an arrow pointing at `point`

0 commit comments

Comments
 (0)