Type String Event fold Revision Release 2026.3728 Keywords fold, state, posture See also fold
A string identifying the hinge’s state with one of the following values:
"closed" — The device is folded shut. On many devices the app runs on the outer screen in this state."halfOpen" — The device is partly open, as in a “tabletop” or “book” posture."open" — The device is opened flat.You can also read the current state at any time with system.getInfo( "foldState" )
On Android, "closed" is reported only once the device is known to be foldable, for example when it has a hinge sensor or has reported a fold before.
The Simulator only reports "open" and "closed".