Creating A Window Within Your App?

Hello,

I am just wondering if there is anyway to replicate the ‘window’ like attributes like in the widget.newScrollView. If you make your scrollview dimension smaller than the display, you can see you images being cut off when your scroll them out of view. Can this be replicated?

Aye. This is done with masks. https://docs.coronalabs.com/guide/media/imageMask/index.html

To sum up what’s in the documentation, you’ll create a mask, then a display group, then insert everything you want to be clipped off into the display group, then set the display group to be masked by the mask.

  • Caleb

Thank you very much! :slight_smile:

Aye. This is done with masks. https://docs.coronalabs.com/guide/media/imageMask/index.html

To sum up what’s in the documentation, you’ll create a mask, then a display group, then insert everything you want to be clipped off into the display group, then set the display group to be masked by the mask.

  • Caleb

Thank you very much! :slight_smile: