Accessor for 2D properties like x, y, rotation, alpha and others which can be animated with this tween. Works for all display objects.
Source
TweenPropertyAccessor2D get animate { var tweenObject = _tweenObject; if (tweenObject is TweenObject2D) { return new TweenPropertyAccessor2D._(this, tweenObject); } else { throw new StateError("Invalid tween object for 2D animation."); } }