position property
The game coordinates of a point that is to be positioned at the center of the viewport.
Implementation
@override
Vector2 get position => -transform.offset;
Implementation
@override
set position(Vector2 value) {
transform.offset = -value;
visibleRect = null;
}