Back to documentation

Is portrait

Returns true if the viewport is currently using a portrait orientation and false otherwise.

Information

Group: Viewport
Plan: Personal
Return type:
boolean
Added at: 2026-04-10