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.