MCPcopy Create free account
hub / github.com/TimMcCool/scratchattach / type

Function type

website/source/js/flyInAni.js:62–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60
61 // Function to type text slowly
62 function type() {
63 if (index < text.length) {
64 textBox.textContent += text.charAt(index); // Append the current character
65 index++;
66 setTimeout(type, 50); // Schedule the next character typing
67 } else {
68 isTyping = false; // Reset flag when typing is done
69 }
70 }
71
72 type(); // Start typing the text
73 }

Callers 5

__init__Method · 0.85
add_pblockMethod · 0.85
add_vlbMethod · 0.85
construct_proccodeFunction · 0.85
handleTextBoxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected