Create an object that orbits another object

Hello, I’m new to cocos creator and I want to create a game where the player is moving around a planet.
Can someone teach me how to do that? Is there a tutorial that I can follow? If you can leave a code in javascript I’ll appreciate that. Thx in advance ^^

Yes, please use our docs and look at our examples.

https://docs.cocos.com/creator/manual/en/getting-started/

All of what you are asking for is covered.