x property

double get x

The current x position

Implementation

double get x {
  return localPosition.dx.clamp(0.0, xMax);
}