View all expressions
Transformation

ConvertToWorld Expression

Converts a 2D position to 3D space coordinates.


box = thisComp.layer("3DLayer");  // Replace with the name of your 3D layer
boxWorldPos = box.toWorld(box.anchorPoint);
boxWorldPos;

ConvertToWorld Expression

Practical use case

Aligning a spotlight’s position to the world space anchor point of another 3D object.

Check out similar expressions

Data-driven video workflows for After Effects are easier with Plainly.

a mesh of elegant lines transparent image