i have a problem with the Translate Transitions. I have a GridPane 7x7. In each cell there is a StackPane. Each StackPane has 3 ImageViews. If i want to change the position of the last added ImageView with a Translate Transition it moves but it moves under the other ImageViews. What do i have to do to keep it up top while the animation is running? It actually stays above if the animation goes up or left but not down and right.
TranslateTransition translate = new TranslateTransition(new Duration(animation_duration));
translate.setToX(100);
translate.setByY(100);
translate.setNode(players[old_x][old_y]);
translate.play();
Thanks