The "display_get_bbox_top" Function
#
SyntaxArgument | Type | Description |
---|---|---|
N/A | N/A | No arguments |
#
DescriptionAndroid/iOS only. Returns the height in pixels of the top bounding box (or letterbox) of a display with one or more cutouts (aka "notch" or "hole-punch"). Will return 0 on other displays.
Note that bounding box will change depending on device orientation. This function will always return the value for the top side of the display relative to the user's perspective.