getX method

double getX()

Sets the skeleton X position, which is added to the root bone worldX position.

Bones that do not inherit translation are still affected by this property.

Implementation

double getX() {
  return _bindings.spine_skeleton_get_x(_skeleton);
}