vectorPosition property
Vector2
get
vectorPosition
get vectorPosition of the Component.
Implementation
Vector2 get vectorPosition => this.position.position;
set
vectorPosition
(Vector2 newPosition)
set vectorPosition of the Component.
Implementation
set vectorPosition(Vector2 newPosition) {
this.position = this.position.copyWith(position: newPosition);
}