# Changing the BitmapData.rectangle

**URL:** <https://forum.kirupa.com/t/changing-the-bitmapdata-rectangle/287499>\
**Category:** flash\
**Created:** [May 2, 2009, 7:49am UTC](https://forum.kirupa.com/t/changing-the-bitmapdata-rectangle/287499 "2009-05-02T07:49:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![four4swords](https://avatars.discourse-cdn.com/v4/letter/f/87869e/32.png) [@four4swords](https://forum.kirupa.com/u/four4swords)\
**Post date:** [May 2, 2009, 7:49am UTC](https://forum.kirupa.com/t/changing-the-bitmapdata-rectangle/287499/1 "2009-05-02T07:49:25Z")

</div>

Hi,

I’m trying to take a ‘snapshot’ of a movieclip that i’ve got on the stage with “BitmapData” and then starting a “draw()” command on it.

I’m able to get it drawing… however… it only takes the things from (0,0).( the upper left corner of the movieclip.

Doing a trace on “BitmapData.rectangle” gives me it’s X and Y coordinates … and it’s width and height…

How do I change the X and Y locations of the BitmapData for it to start the drawing from? As I have some stuff on the negative side of x.

Hope you guys understand!  
Tell me if you need clarifying! :hugegrin:

Thanks!
