How to make Movement Code Efficient

Hi, I’m making a platformer game with Cocos Creator (v2.x), and I read this discussion. I was wondering, since the action system is not needed and you can just use a scheduled update, what is the most efficient way to code the movement of a character/characters (with code examples provided)?

you can use cc.tween:Tweening · Cocos Creator

Thanks for the reply! I will definitely use that, but I’m also curious, is just using setPosition in the update function more efficient?

If it is a simple update of the position, it is more efficient to use update.

Great, thank you!