Sub SetGravity2D(x, y)
Use this function for setting the global gravity vector. A sprite canvas layer must be active.
Related: GetGravity2D