# Position issue

**URL:** <https://forum.kirupa.com/t/position-issue/332319>\
**Category:** flash\
**Created:** [April 18, 2014, 11:52pm UTC](https://forum.kirupa.com/t/position-issue/332319 "2014-04-18T23:52:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jarek86](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@Jarek86](https://forum.kirupa.com/u/Jarek86)\
**Post date:** [April 18, 2014, 11:52pm UTC](https://forum.kirupa.com/t/position-issue/332319/1 "2014-04-18T23:52:30Z")

</div>

Alright so in my code I have it setup so that the player can hit a button and it will move a bomb I already have off screen too the player’s location. The problem is that because I’m setting it too the player’s location it follows the player. I just want it too spawn at the player’s location and stay there.

my code for moving the bomb is

if(bombdrop)  
{  
bomb1\_mc.x = player\_mc.y;  
bomb1\_mc.y = player\_mc.x;  
}
