position property

  1. @override
Vector2 get position
override

The game coordinates of a point that is to be positioned at the center of the viewport.

Implementation

@override
Vector2 get position => -_transform.offset;
  1. @override
set position (Vector2 value)
override

Implementation

@override
set position(Vector2 value) => _transform.offset = -value;