Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

Blinking Cursor Custom character

New Here ,
Jan 31, 2025 Jan 31, 2025

Hi all,

 

I want to do a blinking typewriter effect with the preset:
Blinking Cursor Typewriting Console

I want to have a dot as the blinking cursor, but it is not available as an option.
I can however edit the list via the Edit button on the top right.

But everything I enter, will lead to the cursor spelling "undefined"

 

Does anyone have an idea where I can define these custom characters?

Thank you!!

 

 

 

Bildschirmfoto 2025-01-31 um 11.58.40.png

 

 

Bildschirmfoto 2025-01-31 um 11.58.22.png


TOPICS
How to
136
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jan 31, 2025 Jan 31, 2025

If you expand the text layer so that you can see the sourceText property and then view the expression on it, you'll see this code:

var t = text.sourceText;
var l = t.length;
var a = effect("Animation")(1);
var c = ["|","_","—","<",">","«","»","^"];
var d = effect("Cursor Shape")(1).value;
var reveal = t.slice(0, l*linear(a,0,100,0,1));
reveal + c[d-1];

The variable c in the code is an array of different characters that the Cursor shape is pointing to.   So the simplest option is to replace one

...
Translate
Community Expert ,
Jan 31, 2025 Jan 31, 2025
LATEST

If you expand the text layer so that you can see the sourceText property and then view the expression on it, you'll see this code:

var t = text.sourceText;
var l = t.length;
var a = effect("Animation")(1);
var c = ["|","_","—","<",">","«","»","^"];
var d = effect("Cursor Shape")(1).value;
var reveal = t.slice(0, l*linear(a,0,100,0,1));
reveal + c[d-1];

The variable c in the code is an array of different characters that the Cursor shape is pointing to.   So the simplest option is to replace one of the characters with a dot.  I got this one: ● from https://copychar.cc/

 

var t = text.sourceText;
var l = t.length;
var a = effect("Animation")(1);
var c = ["●","_","—","<",">","«","»","^"];
var d = effect("Cursor Shape")(1).value;
var reveal = t.slice(0, l*linear(a,0,100,0,1));
reveal + c[d-1];

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines