Create an Arrow / Pointer preset for After Effects

Here’s a really quick way to use Shape Layers to make an arrow preset you can use to point to anything in Adobe After Effects. There are a couple of expressions, but it’s straight-forward and once you’ve built your preset, you’ll always have an arrow / pointer / thing you can use to draw people’s attention.

Preset Download: https://bit.ly/2DBtxOf


Expressions used

Put this one in the Path:

Arrow=effect("Arrow head")("Point");
Width = effect("Arrowhead width")("Slider");
Length = effect("Arrowhead height")("Slider");
createPath(points = [Arrow, [Arrow[0]-Length,Arrow[1]+Width], [Arrow[0]-Length,Arrow[1]-Width]], inTangents = [], outTangents = [], isClosed = true)

This one goes in the Path’s transform rotation:

pointA = effect("Arrow head")("Point");
pointB = effect("End point")("Point");
a = pointA[0] - pointB[0];
b = pointA[1] - pointB[1];
switcher = 0;
if (b < 0) {switcher = -180};
if (b == 0) {degree = 90} else {degree = -radiansToDegrees(Math.atan(a/b))}
degree + 90 + switcher

Published by ShiveringCactus

Tutorials and videos, mainly After Effects, but with some 3D and puppetry stuff too.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: