GTweenRectExt extension

A set of extension methods on the GRect class for creating GTween animations.

These extensions add a twn getter property to GRect instances, which returns a GTweenableRect object that can be used to create GTween animations.

on

Properties

twn GTweenableRect
Returns a GTweenableRect object that wraps this GRect instance, allowing it to be used with GTween animations. Use this to animate the properties of the rectangle, such as its position, size, and anchor point. For example:
no setter