stencil.gui_script 162 B

1234
  1. function init(self)
  2. local bunny = gui.get_node("bunny")
  3. gui.animate(bunny, "position.x", 150, gui.EASING_INOUTSINE, 3, 0, null, gui.PLAYBACK_LOOP_PINGPONG)
  4. end