## Search found 19 matches

May 24th, 2004, 10:50 am
Forum: Expressions Library
Topic: Distribute layers in 3D Space
Replies: 0
Views: 14904

### Distribute layers in 3D Space

Problem : How to distribute layers in Z space? Solution (Posted on AE List by Dan Ebberts, Oct 17 2002) You can spread layers out in Z space with a slider control applied to a null and an expression like this applied to the position property of each layer: position+[0,0,(index-1)*this_comp.layer("N...
May 24th, 2004, 10:42 am
Forum: Expressions Tutorials
Topic: Use "Index" to access layers
Replies: 0
Views: 19068

### Use "Index" to access layers

Problem : you want to access layers without using their name Solution (posted by Dan Ebberts on Oct 21 2002) For example, if you had a comp with "Solid 1" on top and "Solid 2" beneath it, you could refer to "Solid 1"'s position from "Solid 2" like this: this_comp.layer("Solid "+(index-1)).position
May 24th, 2004, 2:42 am
Forum: Expressions Library
Topic: Random - Hold - Random
Replies: 0
Views: 11746

### Random - Hold - Random

Problem : How to apply a random value to an effect and then have it hold before going back to randomness? Solution 1 (posted by Dan Ebberts on AE List October 14 2002) Use the seed_random function. Example: seed_random(1,true); When you want a different value, change the value of the seed. Example:...
May 24th, 2004, 2:38 am
Forum: Expressions Tutorials
Topic: 3D Position with Expressions
Replies: 0
Views: 23336

### 3D Position with Expressions

Problem : How to make an object follow another object in only 1 of the 3 dimensions (X, Y or Z) and leave the other two as is. Solution (posted by Paul Tuersley on AE List September 17 2002) otherposition = this_comp.layer("name of the other layer").position; [position[0], position[1], otherpositio...