Skip to content

Instantly share code, notes, and snippets.

@animoplex
Created December 22, 2018 00:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save animoplex/e96b53c525353042bf8d80bb35596ed2 to your computer and use it in GitHub Desktop.
Save animoplex/e96b53c525353042bf8d80bb35596ed2 to your computer and use it in GitHub Desktop.
Parent Attribute - After Effects Expression by Animoplex
// Parent Attribute - Created by Animoplex: www.animoplex.com
// Checking for a parent with hasParent and matching the opacity with the parent attribute.
// Full Tutorial: https://www.youtube.com/watch?v=BOPfs49VfLE
if (hasParent == true) {
parent.transform.opacity
} else {
value
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment