# Empty Sprite?

**URL:** <https://forum.kirupa.com/t/empty-sprite/239278>\
**Category:** Uncategorized\
**Created:** [September 20, 2007, 4:48am UTC](https://forum.kirupa.com/t/empty-sprite/239278 "2007-09-20T04:48:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![endemoniada](https://avatars.discourse-cdn.com/v4/letter/e/dec6dc/32.png) [@endemoniada](https://forum.kirupa.com/u/endemoniada)\
**Post date:** [September 20, 2007, 4:48am UTC](https://forum.kirupa.com/t/empty-sprite/239278/1 "2007-09-20T04:48:24Z")

</div>

Hi guys,

In my program I have a Sprite that contains a Bitmap for the entire background, it’s just a fancy border with a content area in the middle. I want to have other smaller sprites that can be moved around but clipped to the content area rectangle. I can’t figure it out.

I was thinking of using the scrollRect but it seems to be anchored at (0,0), so then I was thinking of making a Sprite for the content area but I can’t give it dimension because it will be empty and I don’t want it to paint over the background.

It must be a common practice to do something like this and I’m probably going about it the wrong way. What should I do ?

Thanks.
