Skip to content

Commit 711c4af

Browse files
committed
Fix bad example in property
1 parent de9ce50 commit 711c4af

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

docs/objects/property.md

-11
Original file line numberDiff line numberDiff line change
@@ -366,17 +366,6 @@ This method lets you establish name-independent relationships in the property hi
366366
thisProperty.propertyGroup(1).numProperties;
367367
```
368368

369-
**Animating with the propertyGroup method and propertyIndex attribute**
370-
371-
*todo: fix this*
372-
373-
In this example, the propertyGroup method for each brush stroke targets the Brush property group because that group is two property groups up from the Rotation property. The propertyIndex attribute in each Brush stroke then returns a unique value for each Brush stroke. The resulting value is then multiplied by the `time` and `200` and applied to each rotation value, rotating each brush stroke differently, creating swirling paint strokes:
374-
375-
```js
376-
propertyGroup(2).propertyIndex * time * 200
377-
propertyGroup(2).propertyIndex * time * 200
378-
```
379-
380369
---
381370

382371
### smooth()

0 commit comments

Comments
 (0)