Skip to main content
Inspiring
May 16, 2018
Question

Help with write on text with curser using an expression

  • May 16, 2018
  • 2 replies
  • 1850 views

Hi There,

I have text writing on with a cursor using this TUT: AE Tut'z - How to Create a Type-Text Effect with a Blinking Cursor - YouTube

L = text.sourceText.length;

T = time*effect("Speed")("Slider") -effect("Start At")("Slider")* effect("Speed")("Slider");

F = Math.round(time % 1);

if(F == 1 | (T<L & T>0)){Fl = "▇";}else{Fl=" ";}

substr(0,T) + Fl

Questions:

1.

How would I double the speed of the cursor blink?

Have tried 0.5 under time and the if statement (and tried 2) but then the cursor doesn't show at all.

2.

How can I make the cursor start on, then blink?

Currently it starts off but it should be on to start. I tried swapping the cursor "▇"in the if/else statement but then the cursor doesn't show while the text types on (as expected).

Pretty green when it comes to this stuff so any help or pointers in the right direction would be juch appreciated.

Cheers

Ben

This topic has been closed for replies.

2 replies

Szalam
Community Expert
Community Expert
May 16, 2018

I'm going to have a moderator move this thread into the After Effects Expressions​ forum for some more specialized help.

Roland Kahlenberg
Legend
May 16, 2018

I have an effect; typeOnGEMs, that provides a lot of controls and tons of options for simulating type-on effects.

broadcastGEMs - TypeOnGEMs

Very Advanced After Effects Training | Adaptive &amp; Responsive Toolkits | Intelligent Design Assets (IDAs) | MoGraph Design System DEV
cmscssAuthor
Inspiring
May 16, 2018

Cheers, will check that out. Thanks heaps.