![](https://cdn.myportfolio.com/e08afac7-f9f0-4969-806c-10d59355097b/b48a98b6-e292-470c-be6f-cc5bf9035332_rw_1920.png?h=5eca5cda95a0ed05829d97d4b3b346d4)
This tutorial shares several different ways to show internet pages in Adobe After Effects.
This video covers a frequent problem many AE artists struggle with, namely what is the best way to show a webpage in your compositions. I share a free (but good) screen recorder and then show you an extension for Google Chrome is takes a screenshot of an entire webpage. Next I recreate a Windows desktop and Chrome browser in a pre-comp. Finally, I use a simple expression to change an animated mouse pointer as it moves over clickable regions.
AE cannot render HTML, so you cannot link in a live webpage, but using the comp in the project, you can recreate the look of Google Chrome in Windows 10 with a mouse pointer which changes shape when it moves over a target. To do this, I'll show you how to achieve simple collision detection using Shape layers and the expression: sampleImage.
Expression used:
regular = "";
clicky = "";
target = effect("Target Layer")("Layer");
pointer = transform.position;
alpha = target.sampleImage(pointer,[1,1])[0];
if (alpha > 0) {
clicky;
} else {
regular;
}
clicky = "";
target = effect("Target Layer")("Layer");
pointer = transform.position;
alpha = target.sampleImage(pointer,[1,1])[0];
if (alpha > 0) {
clicky;
} else {
regular;
}