# Removing movieclips problem

**URL:** <https://forum.kirupa.com/t/removing-movieclips-problem/208638>\
**Category:** Uncategorized\
**Created:** [November 30, 2006, 8:02pm UTC](https://forum.kirupa.com/t/removing-movieclips-problem/208638 "2006-11-30T20:02:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jose3760](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jose3760/32/2887_2.png) [@jose3760](https://forum.kirupa.com/u/jose3760)\
**Post date:** [November 30, 2006, 8:02pm UTC](https://forum.kirupa.com/t/removing-movieclips-problem/208638/1 "2006-11-30T20:02:05Z")

</div>

I have my guy who shoots at blocks. I want it so that when the bullets hit the blocks, the bullet dissapears and the block dissapears. right now, im using .\_alpha because i couldnt get the removemovieclip() to work.

here is my code on the block:

onClipEvent(enterFrame){  
if(this.hitTest(\_root.bullet)){  
\_root.b1.\_alpha = 0;  
\_root.score += 1;  
}  
}

so since im using alpha, i can keep shooting the block and get points, which is a bad thing 😛
