Hi Adam, this doesn’t implement the blinking of the final character, that could be added with a textanimator, but I hope this can send you on your way:
const message = "123 Typing T9 style texts inside of after effects.".toUpperCase();
const multitaps = { "B": "AB", "C": "ABC", "2": "ABC2", "E": "DE", "F": "DEF", "3": "DEF3", "H": "GH", "I": "GHI", "4": "GHI4", "K": "JK", "L": "JKL", "5": "JKL5", "N": "MN", "O": "MNO", "6": "MNO6", "Q": "PQ", "R": "PQR", "S": "PQRS", "7": "PQRS7", "U": "TU", "V": "TUV", "8": "TUV8", "X": "WX", "Y": "WXY", "Z": "WXYZ", "9": "WXYZ9"};
let steps = [];
let result = "";
for (let character of message) {
let keypresses = multitaps[character];
if (keypresses == undefined) {
result += character;
steps.push(result);
} else {
for (let keypress of keypresses) {
steps.push(result + keypress);
}
result+= character;
}
}
let f = timeToFrames(time/5);
steps[f-1];