public void setOnStart() {
		System.out.println("Coin.setOnStart()" + this);
		Cordenate[] pathCoordinates = { new Cordenate(1, 6),
				new Cordenate(8, 1), new Cordenate(13, 8), new Cordenate(6, 13) };
		Color colorCode = this.getColor();
		String color = null;
		System.out.println("colorCode.getRed() == 1.0"
				+ (colorCode.getRed() == 1.0));
		int value = 128;
		if (colorCode.getRed() > 0 && colorCode.getGreen() > 0) {
			color = "YELLOW";
		} else if ((int) Math.floor(colorCode.getBlue() * 255) == value
				|| colorCode.getBlue() == 1.0) {
			color = "BLUE";
		} else if ((int) Math.floor(colorCode.getGreen() * 255) == value
				|| colorCode.getGreen() == 1.0) {
			color = "GREEN";
		} else {
			color = "RED";

		}

		Path path1 = new Path();
		LineTo lineTo;
		MoveTo moveTo;
		int i = 0;
		moveTo = new MoveTo(this.getCenterX(), this.getCenterY());
		if ("GREEN".equalsIgnoreCase(color)) {
			lineTo = new LineTo(pathCoordinates[i].getWidth() + radius,
					pathCoordinates[i].getHeight() + radius);
			System.out.println("Inside Green " + pathCoordinates[i]);

		} else if ("YELLOW".equalsIgnoreCase(color)) {
			i = 1;
			lineTo = new LineTo(pathCoordinates[i].getWidth() + radius,
					pathCoordinates[i].getHeight() + radius);
		} else if ("RED".equalsIgnoreCase(color)) {
			i = 3;
			lineTo = new LineTo(pathCoordinates[i].getWidth() + radius,
					pathCoordinates[i].getHeight() + radius);

		} else {
			i = 2;
			lineTo = new LineTo(pathCoordinates[i].getWidth() + radius,
					pathCoordinates[i].getHeight() + radius);

		}

		path1.getElements().add(moveTo);
		path1.getElements().add(lineTo);
		System.out.println("lineTo " + lineTo.getX() / xWidth + "  "
				+ lineTo.getY() / yHeight + " cor " + pathCoordinates[i]);
		PathTransition transition = PathTransitionBuilder.create()
				.duration(Duration.millis(500)).autoReverse(false)
				.cycleCount(1).node(this).path(path1).build();
		transition.play();

		this.setBlockNo(pathCoordinates[i]);

		// startX = this.getCenterX();
		// startY = this.getCenterY();
		SpriteMap.updateSprite(pathCoordinates[i], this);
	}