Typewriter with Blinking Cursor in After Effects - AEJuice

Typewriter with Blinking Cursor in After Effects

How to create a typing cursor in After Effects?

    1. Create a text layer.
    2. Add a Slider Control to the text layer and rename it to Text.
    3. Add a Checkbox Control to the text layer and rename it to On/Off.
    4. Alt-click on the Source Text property and paste the expression below.
    5. Turn on the On/Off checkbox.

    How does it work?

    Animate Text slider (a 1st keyframe must have 0 value, a 2nd keyframe – your text’s length or bigger value).

    Animate On/Off checkbox to start or stop the blinking cursor.

    Adjust blinking speed by changing the blinkInterval variable value in the expression (the lesser the value the faster is the blinking).

    You can also change the blinking sign by replacing the sign variable.

    How to erase text?

    Animate Text slider backward.

    How to make cursor to blink once the type out animation has finished?

    Animate the On/Off checkbox (a 1st keyframe will be 1, a 2nd keyframe will be 0).

    How to change the cursor’s color?

    1. Press Animate – Fill Color – RGB.
    2. Expand Range Selector 1.
    3. Alt-click on the Start property and paste an expression below.
    4. Alt-click on the End property and paste an expression below.
    5. Expand Advanced property and change Units to Index.