# Bullet Hole after mouse down

**URL:** <https://forum.kirupa.com/t/bullet-hole-after-mouse-down/191148>\
**Category:** programming\
**Created:** [June 17, 2006, 8:51pm UTC](https://forum.kirupa.com/t/bullet-hole-after-mouse-down/191148 "2006-06-17T20:51:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![danlipman](https://avatars.discourse-cdn.com/v4/letter/d/e36b37/32.png) [@danlipman](https://forum.kirupa.com/u/danlipman)\
**Post date:** [June 17, 2006, 8:51pm UTC](https://forum.kirupa.com/t/bullet-hole-after-mouse-down/191148/1 "2006-06-17T20:51:44Z")

</div>

Hi, i just made banner with sniper scope cursor, and i’d like to create a movie clip (hole) after i press the mouse button. I have 2 problems:

- after second hit, my previous bullet hole MC disapeared
- bullet holes appears above my scope, not under it.

script which i found:

onClipEvent (mouseDown) {  
i++;  
this.duplicateMovieClip(“bullet”+i, i+1);  
\_root[“bullet”+i].\_x = \_root.\_xmouse;  
\_root[“bullet”+i].\_y = \_root.\_ymouse;  
}

plz help me with resolve depth and multi duplicating MC problems.  
thx
