ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Check layer is 3d or 2d

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Ilya Sire
Check layer is 3d or 2d
on Oct 2, 2019 at 9:18:11 am

Hello forum,
How can i check if the layer is 2D or 3D using expression?


Return to posts index

Dan Ebberts
Re: Check layer is 3d or 2d
on Oct 2, 2019 at 1:39:09 pm

This should give you a 2 or 3:

position.value.length


Dan



Return to posts index

Alex Printz
Re: Check layer is 3d or 2d
on Oct 2, 2019 at 1:54:54 pm

Dan's answer is what I do; I check the value's array length of position or anchorPoint.

Alex Printz
Mograph Designer


Return to posts index


Ilya Sire
Re: Check layer is 3d or 2d
on Oct 3, 2019 at 2:45:38 am

Ahh .value, im missing that part. What i wrote is position.lenght
Thank you Dan


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 CreativeCOW.net All Rights Reserved
[TOP]