# Add a movieclip on button press, remove on another button press

**URL:** https://forum.kirupa.com/t/add-a-movieclip-on-button-press-remove-on-another-button-press/236165
**Category:** Uncategorized
**Created:** [August 17, 2007, 6:35pm UTC](https://forum.kirupa.com/t/add-a-movieclip-on-button-press-remove-on-another-button-press/236165 "2007-08-17T18:35:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![woodman650](https://avatars.discourse-cdn.com/v4/letter/w/b9bd4f/32.png) [@woodman650](https://forum.kirupa.com/u/woodman650)
#### Post date: [August 17, 2007, 6:35pm UTC](https://forum.kirupa.com/t/add-a-movieclip-on-button-press-remove-on-another-button-press/236165/1 "2007-08-17T18:35:09Z")

</div>

Sounds a little confusing maybe, but the idea is rather simple… I’m trying to figure out a way to have a + and a - button. When a user hits the + button, a movieclip appears. If they hit it again, another duplicate movieclip appears next to the first, etc… basically adding movieclips along the x-plane. Now, when the user hits the - button, the movieclip on the furthest right-hand side is removed, when hit again the next movieclip furthest on the right-hand side is removed, etc until there are no more movieclips.

It’s basically an add and subtract movieclip function but I have no idea how to set this up. Any tips or advice would be greatly appreciated! thanks in advance!
