# Question about the BitmapData draw() method

**URL:** <https://forum.kirupa.com/t/question-about-the-bitmapdata-draw-method/236183>\
**Category:** Uncategorized\
**Created:** [August 17, 2007, 11:58pm UTC](https://forum.kirupa.com/t/question-about-the-bitmapdata-draw-method/236183 "2007-08-17T23:58:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SquirtGun](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@SquirtGun](https://forum.kirupa.com/u/SquirtGun)\
**Post date:** [August 17, 2007, 11:58pm UTC](https://forum.kirupa.com/t/question-about-the-bitmapdata-draw-method/236183/1 "2007-08-17T23:58:56Z")

</div>

Example code:

var bitmap:BitmapData = new BitmapData(100, 100, true, 0x00ffffff)  
bitmap.draw(sprite);

Is there a way to define the starting x,y point when drawing a sprites contents to a BitmapData object. I want to only copy a small section of the sprite, that is not the top left most corner.

Thanks for any help.

~squirt
