# How does one clone objects?

**URL:** <https://forum.kirupa.com/t/how-does-one-clone-objects/303784>\
**Category:** Uncategorized\
**Created:** [January 27, 2010, 12:15am UTC](https://forum.kirupa.com/t/how-does-one-clone-objects/303784 "2010-01-27T00:15:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![oluc](https://avatars.discourse-cdn.com/v4/letter/o/cc9497/32.png) [@oluc](https://forum.kirupa.com/u/oluc)\
**Post date:** [January 27, 2010, 12:15am UTC](https://forum.kirupa.com/t/how-does-one-clone-objects/303784/1 "2010-01-27T00:15:39Z")

</div>

This is probably a stupid question with a simple solution but I have been searching with no luck.

I created a shape and added it to the display list calling it arrowBtnL. But how do I take the same shape and clone it to another place on the stage calling it arrowBntR? I did a makeshift and just made the exact same shape again but it seems to unnecessarily take up lots of code lines and is uneconomical. Am I wrong here?

Does you know of a correct way of doing this?

```auto

			arrowBtnL = new Sprite();
			arrowBtnL.graphics.lineStyle(15, 0xff222222);
			arrowBtnL.graphics.drawCircle(32, 33, 55);
			arrowBtnL.graphics.lineStyle(0, 0xffffff, 0);
			arrowBtnL.graphics.beginFill(0xff222222);
			arrowBtnL.graphics.moveTo(triangleHeight/2, 0);
			arrowBtnL.graphics.lineTo(triangleHeight, triangleHeight);
			arrowBtnL.graphics.lineTo(0, triangleHeight);
			arrowBtnL.graphics.lineTo(triangleHeight/2, 0);
			mainSprite.addChild(arrowBtnL);
			arrowBtnL.rotation = -25;
			arrowBtnL.x = 320;
			arrowBtnL.y = 425;
			arrowBtnL.alpha = .4;

```

thanks for any help!
