Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Cursor While Typing - Created by Animoplex: www.animoplex.com
- // Creates a pipe "|" symbol on a text layer while it types.
- // NOTE: Add a Slider Control to your text layer and apply this to the "SourceText" parameter.
- // NOTE: Keyframe the Slider Control from 0 to 100 to reveal the text being typed.
- src = effect("Slider Control")("Slider");
- txt = text.sourceText.length;
- type = linear(src, 0, 100, 0, txt);
- blink = Math.round( time % 1 );
- if (( blink == 1 )) { pipe = "|"; } else { pipe =""; }
- substr( 0, type ) + pipe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement