# Keep Custom Cursor At the Highest Depth

**URL:** <https://forum.kirupa.com/t/keep-custom-cursor-at-the-highest-depth/313868>\
**Category:** flash\
**Created:** [September 12, 2010, 5:58pm UTC](https://forum.kirupa.com/t/keep-custom-cursor-at-the-highest-depth/313868 "2010-09-12T17:58:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![walker6o9](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@walker6o9](https://forum.kirupa.com/u/walker6o9)\
**Post date:** [September 12, 2010, 5:58pm UTC](https://forum.kirupa.com/t/keep-custom-cursor-at-the-highest-depth/313868/1 "2010-09-12T17:58:56Z")

</div>

I’m adding a custom cursor, and I need it to stay at the highest depth. Currently, whenever I add new movie clips to the screen, the custom mouse shows up behind the movie clips, which looks terrible. I have to add movie clips regularly during runtime, but I need the custom cursor to stay above them, just like the regular mouse would.

Here’s how I’m adding the custom cursor:

```
                    Mouse.hide();
		var cross= new crosshairs();
		this.addChild(cross);
		cross.depth = 999999;
		cross.startDrag(true);
```
