Results 1 to 3 of 3
Thread: How to clip or mask a region
-
October 14th, 2008, 01:15 PM #1172Registered User
postsHow to clip or mask a region
Let's say I have a Sprite with lots of children. I want to define a rectangular region, outside of which the children aren't shown (imagine the rectangular region is like a window, and the sprite's children are everything outside the window). What's the best way to accomplish this?
-
October 14th, 2008, 02:05 PM #2
Create a rectangle for the mask area, then set the 'mask' property of the Sprite to the rectangle.
-
October 14th, 2008, 02:46 PM #3172Registered User
postsThat's what I was looking for, thanks.

Reply With Quote


Bookmarks