ly.img.android.sdk.config / Position / snapToLeft

snapToLeft

var snapToLeft: Float?

The left side of a sprite's bounding box snaps to a vertical line which is shifted from the left side of the edited image towards its center by this value. The value is measured in normalized coordinates relative to the smaller side of the edited image. If this value is explicitly set to null this snapping line is disabled.