# Adding cursor to typewriter effect?

**URL:** <https://forum.kirupa.com/t/adding-cursor-to-typewriter-effect/28091>\
**Category:** Uncategorized\
**Created:** [August 10, 2003, 12:43am UTC](https://forum.kirupa.com/t/adding-cursor-to-typewriter-effect/28091 "2003-08-10T00:43:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![emeX](https://avatars.discourse-cdn.com/v4/letter/e/a4c791/32.png) [@emeX](https://forum.kirupa.com/u/emeX)\
**Post date:** [August 10, 2003, 12:43am UTC](https://forum.kirupa.com/t/adding-cursor-to-typewriter-effect/28091/1 "2003-08-10T00:43:55Z")

</div>

Is it possible to ad a cursor using this typewriter effect  
[AS]myText = new LoadVars ()  
myText.load (“test.txt”)  
myText.onLoad = function () {  
\_root.holder = this.test  
\_root.index = 1  
}  
\_root.onEnterFrame = function () {  
if (\_root.outputbox.length != 100) {  
\_root.typer = \_root.holder.charAt (\_root.index)  
\_root.outputbox.text += \_root.typer  
\_root.index ++  
}  
}[/AS]  
would i have to like use the setProperty to find the \_x and\_y of the current letter being typed and add the cursor moveclip after it??  
I am trying to use a blinking Rectangle cursor like the DOS curor…  
Thanks in advance
