# heightFraction

fun heightFraction(fraction: [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)): [FrakSharing.Builder](/developers/references/android/id-frak-sdk-ui/fraksharing/builder/)

Share of the screen height the sheet occupies. Values outside `0.3..1.0`, and non-finite ones, are clamped and logged rather than thrown: a layout number must not crash the merchant's app, and iOS clamps the same input.