Skip to content

Instantly share code, notes, and snippets.

@animoplex
Last active January 29, 2023 09:41
Show Gist options
  • Save animoplex/01de80e8a9d8f8cd3e24b2b640967f4c to your computer and use it in GitHub Desktop.
Save animoplex/01de80e8a9d8f8cd3e24b2b640967f4c to your computer and use it in GitHub Desktop.
3D to 2D Position - After Effects Expression by Animoplex
// 3D to 2D Position - Created by Animoplex: www.animoplex.com
// Give 2D effects or properties the ability to use 3D positioning in After Effects.
// toComp is a layer space transform method that transforms values from a layer space to a composition space.
// Full Tutorial: https://www.youtube.com/watch?v=FVrgLK6Zovw&t=268s
src = thisComp.layer('Layer 1');
src.toComp([0,0,0]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment