The forums have permanently moved to This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.

Results 1 to 3 of 3

Thread: How to clip or mask a region

  1. #1

    How 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?

  2. #2
    Smee's Avatar
    Registered User
    Create a rectangle for the mask area, then set the 'mask' property of the Sprite to the rectangle.

  3. #3
    That's what I was looking for, thanks.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Home About Meet the Moderators Advertise

 Link to Us


Copyright 1999 - 2012