
stencil.gui_script
function init(self)
local bunny = gui.get_node("bunny")
gui.animate(bunny, "position.x", 150, gui.EASING_INOUTSINE, 3, 0, null, gui.PLAYBACK_LOOP_PINGPONG)
endThis example was created by Defold Foundation.
Download ⤓
Do you want to see more examples? Why not write a few yourself and submit a pull request? We love contributions.
Add example ↗