# Performance when masking

**URL:** https://forum.kirupa.com/t/performance-when-masking/301883
**Category:** flash
**Created:** [December 17, 2009, 7:59am UTC](https://forum.kirupa.com/t/performance-when-masking/301883 "2009-12-17T07:59:10Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![danielsvane](https://avatars.discourse-cdn.com/v4/letter/d/ce73a5/32.png) [@danielsvane](https://forum.kirupa.com/u/danielsvane)
#### Post date: [December 17, 2009, 7:59am UTC](https://forum.kirupa.com/t/performance-when-masking/301883/1 "2009-12-17T07:59:10Z")

</div>

Hey Kirupians

I was wondering whether flash somehow ‘displays’ what a mask doesnt hide, even though the user cant see it.

I have an image that gets masked while getting rotated, moved and scaled. So i was thinking, i might get better performance out of only drawing the bitmapdata from the image into the masked region, and manipulate this, instead of manipulating the whole image.

What would give me the best performance?
