# BitmapData getPixel on rotating movieClip?

**URL:** <https://forum.kirupa.com/t/bitmapdata-getpixel-on-rotating-movieclip/269639>\
**Category:** flash\
**Created:** [August 29, 2008, 11:45pm UTC](https://forum.kirupa.com/t/bitmapdata-getpixel-on-rotating-movieclip/269639 "2008-08-29T23:45:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flashpipe](https://avatars.discourse-cdn.com/v4/letter/f/839c29/32.png) [@flashpipe](https://forum.kirupa.com/u/flashpipe)\
**Post date:** [August 29, 2008, 11:45pm UTC](https://forum.kirupa.com/t/bitmapdata-getpixel-on-rotating-movieclip/269639/1 "2008-08-29T23:45:07Z")

</div>

This may be more of a math question as I try variations on this problem. I’m trying to get the rgb value from a pixel area on the stage that a bitmap is rotating in. I made it work for the y by adjusting the getPixel location in the bitmap, but I think I need to use some sin/cos to “rotate” the x/y location for the getRGB…

am I making this harder than it needs to be?

any ideas?? fla attached…

Thanks!
