position property

Vector2 position

Get the world body origin position. Do not modify.

@return the world position of the body's origin.

Implementation

Vector2 get position => _transform.p;