 		pieceBackground.onLoad = () ->
 			@size = new P.Size P.view.size.width, .7 * P.view.size.height
 
+		# Create a Group using the mask and the background
 		pieceGroup = new P.Group pieceEdge, pieceBackground, pieceEdge.clone()
 		pieceGroup.clipped = true
 		pieceGroup.position.x = i * rectangle.width / 2 + rectangle.width / 2

		actualPiece.group.bringToFront()

	tool.onMouseUp = (event) ->
		actualPiece = null
		dragging = false


	background.onLoad = () ->
		@size = new P.Size P.view.size.width, .7 * P.view.size.height

	# The rectangle used for the cutout of the pieces
	rectangle = new P.Rectangle 0, 0, P.view.size.width / 4, .7 * P.view.size.height / 4
	
	###
