# Bullet is not starting from the car

**URL:** <https://forum.kirupa.com/t/bullet-is-not-starting-from-the-car/316582>\
**Category:** flash\
**Created:** [November 26, 2010, 8:51pm UTC](https://forum.kirupa.com/t/bullet-is-not-starting-from-the-car/316582 "2010-11-26T20:51:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![caliber400](https://avatars.discourse-cdn.com/v4/letter/c/b5a626/32.png) [@caliber400](https://forum.kirupa.com/u/caliber400)\
**Post date:** [November 26, 2010, 8:51pm UTC](https://forum.kirupa.com/t/bullet-is-not-starting-from-the-car/316582/1 "2010-11-26T20:51:15Z")

</div>

Hello!  
I’m creating a small car game where you shoot from the car, so I’ve made a bullet animation with this code inside the mocieclip:

```php
shellNo = 0;
function shellEject(){
shell_holder.attachMovie("shellAnim", shellNo, shellNo);
shellNo++;
}

```

But the problem is that the car is moving when you controll it so the bullet stays on the same position and I want it to follow the car and start from the same position as the car whereever it goes.  
So that’s my problem.  
Thank you!
