[framer学习]animation(1)

layerA =new Layer
  x: 200

layerA.states.stateA =
    y: 500
    animationOptions:
        curve: "bezier-curve"

layerA.states.stateB =
     y:200
     animationOptions:
        curve: "spring-dho"

layerA.onTap ->
    layerA.stateCycle("stateA","stateB","default")

你可能感兴趣的:([framer学习]animation(1))