title: javafx - Draw circle on button click
body: <p>I made a circle in using fxml sheet. Now I'd like to move that circle around with the click of a button. It's simple and works, but I want to have a same looking circle stay at the same position the original was on when I click the button. </p>
  
  <pre><code>private void click0(javafx.event.ActionEvent event) {
  
      Circle c0d = c0;
      c0d.setCenterX(600);
      c0d.setCenterY(900);
      c0d.setRadius(32.0f);
  
  
      TranslateTransition translate = new TranslateTransition(
              Duration.millis(750));
      translate.setToX(1);
      translate.setToY(432);
  
      ParallelTransition transition = new ParallelTransition(c0,translate);
      transition.setCycleCount(1);
      transition.play();
  
  }
  </code></pre>
  
  <p>I can make a new instance of the circle with the properties of the original one, but how do i draw it on the same position as the original one?</p>