You can distort the frame of an image layer with this function.
The frame can be edited in the preview window. You can drag the layer by clicking and dragging with the mouse. Clicking on the edge allows moving this edge. The corners can be moved, too.