Touch the navigation buttons to bump green shapes on any side to make them stick to match the glue. You can get rid of a shape by going somewhere it cant follow you, or by sticking it somewhere that lets you slide off in a direction its unable to move.
The object of the game is simply to place yourself in the transparent image within each level, making sure any green shapes you need are stacked in the proper order.