pike
val rotation = RotateTransition(Duration.millis(200.0), image) rotation.byAngle = 20.0 rotation.isAutoReverse = true rotation.play()