Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
AE expression : check for backfacing (2D layer)
var rot = transform.xRotation;
var flipAngle = 180;
var flips = Math.round(rot / flipAngle);
var isFront = (flips%2) ? false : true;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.