Can you setup Gravity around a Sphere, much like planetary gravity?

I would like a code example :confused: or a blueprint function library :slight_smile: