currentOffset method

Vector2 currentOffset()

The base offset of the parallax, can be used in an outer update loop if you want to transition the parallax to a certain position.

Implementation

Vector2 currentOffset() => layers[0].currentOffset();