position property

  1. @override
NotifyingVector2 get position
inherited

The position of this component's anchor on the screen.

Implementation

@override
NotifyingVector2 get position => transform.position;
  1. @override
set position (Vector2 newP)
override

Implementation

@override
set position(Vector2 newP) {
  translate(newP - this.position);
}