Categories
AE

[익스프레션] 포인트 텍스트 색칠하기(끝 점 찾기)

줄바꿈에 상관없이 포인트 텍스트의 끝 점을 찾는다

const pointTextArrayNum = 1;

const startIndex = thisComp.layer("RenderText").text.animator("Animator 1").selector("Range Selector " + pointTextArrayNum).start;
const pointText = thisComp.layer("PointText").text.sourceText.split("$$")[pointTextArrayNum-1];

[(startIndex == -1 || pointText == null) ? 0 : startIndex + pointText.length]

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다