Just wanted to give a small bump for our new "examples" category section in our Learn section. Lots of cred to @sicher for putting it up there.
It currently contains 18 very small examples with code, showing how to do discrete things, generally with only one script file and made for some copy-pasting. We have things like how to tween animations, do 8-way movement and how to child a game object to a parent.
We will be adding lots more examples over time, with the ambition of also calling on all of you wonderful people to add to the list, so stay tuned for that if you have the time / interest in contributing.
For now: https://www.defold.com/examples/basics/simple%20move/