In a lot of games, during the tutorial they will have the screen darken and leave a portion (usually rectangular) light to bring attention to an object that you should swipe or tap.
There is an example here: http://imgur.com/7K2hvOW
Notice how the rest of the screen is darkened except for a rectangular area around the word TOUR.
I feel like it could be accomplished with some sort of mask, but I’m not sure how to do it. It needs to be dynamic (able to adapt to different dimensions), and possibly accommodate multiple light areas (for example, drag this object into this space).
Does anyone have any ideas?