# Mouse trailer - text?

**URL:** https://forum.kirupa.com/t/mouse-trailer-text/16764
**Category:** Uncategorized
**Created:** [March 28, 2003, 2:36am UTC](https://forum.kirupa.com/t/mouse-trailer-text/16764 "2003-03-28T02:36:57Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![m4non](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@m4non](https://forum.kirupa.com/u/m4non)
#### Post date: [March 28, 2003, 2:36am UTC](https://forum.kirupa.com/t/mouse-trailer-text/16764/1 "2003-03-28T02:36:57Z")

</div>

Hello,

Anybody knows where to get tutorial or code to create mouse trailer-text (text mask that follows mouse pointer)?

I’ve been looking for it, and they all seemed hard to understand.

thx alottt…

m4non

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 28, 2003, 4:58am UTC](https://forum.kirupa.com/t/mouse-trailer-text/16764/2 "2003-03-28T04:58:27Z")

</div>

If you want the text to follow the mouse, I’d convert the text into a movie clip symbol and then use some code in the MC to make it follow the mouse:

onClipEvent (enterFrame) {  
clip.\_x = \_root.\_xmouse;  
clip.\_y = \_root.\_ymouse;  
}

You can offsett the text to one side by adding or subtracting values from \_xmouse and \_ymouse.
