Answers.Body: <p>After getting some good advice, there's no way to modify the layer stack via expressions.  This should be handled by making the layers 3D or by creating a duplicate layer further up the stack and flipping the opacity on and off.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-05-23T16:30:02.077Z
Answers.LastActivityDate: 2023-05-23T16:30:02.077Z
Answers.UserDisplayName: Mike Corrente
Body: <p>I have two solids right next to each other.  At certain points in the timeline, I increase the scale of one or the other for emphasis.  The problem is that one of the solids is located behind the other, so when its scale increases, it's partially blocked.</p>
  <p>How can I modify the layer stack using expressions?  I found moveBefore(), moveAfter(), etc., but those appear to be scripting only.</p>
  
Tags: <after-effects><after-effects-expressions>
Title: Bringing layers forward or sending back with After Effects expressions
UserDisplayName: Mike Corrente
ThreadText: # Bringing layers forward or sending back with After Effects expressions
  
  (Asked by: username_0 on 2023-05-22)
  
  I have two solids right next to each other. At certain points in the timeline, I increase the scale of one or the other for emphasis. The problem is that one of the solids is located behind the other, so when its scale increases, it's partially blocked.
  
  How can I modify the layer stack using expressions? I found moveBefore(), moveAfter(), etc., but those appear to be scripting only.
  
  **Tags:** after-effects, after-effects-expressions
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2023-05-23. Score: 0
  
  After getting some good advice, there's no way to modify the layer stack via expressions. This should be handled by making the layers 3D or by creating a duplicate layer further up the stack and flipping the opacity on and off.
  
  
  ---
  
  