Skip to content

Commit 8270574

Browse files
committed
Fix Layer.mask parameter and return type documentation
Corrected the parameter description from 'Effect name or index' to 'Mask name or index' and updated the return type from Effect to Mask in the sub-objects documentation.
1 parent 0cdf30d commit 8270574

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/layer/sub-objects.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,14 @@ The `index` value will have After Effects finds the mask by its index in the Tim
9797
+-----------+--------+------------------------------+
9898
| Parameter | Type | Description |
9999
+===========+========+==============================+
100-
| `name` | String | Effect name or index to get. |
100+
| `name` | String | Mask name or index to get. |
101101
| | | |
102102
| `index` | Number | |
103103
+-----------+--------+------------------------------+
104104

105105
#### Returns
106106

107-
[Effect](../objects/effect.md)
107+
[Mask](../objects/mask.md)
108108

109109
#### Example
110110

0 commit comments

Comments
 (0)