Back to course

Timeline and KeyFrames

JavaFX 0 to Hero

Timeline and KeyFrames

For complex or repeating animations, use Timeline. It allows you to specify what happens at specific points in time (KeyFrame).