Build appsReferenceObjectsViewportOn this pageThe Viewport objectInformation about the canvas size in the current viewport.Properties All properties for Viewport with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read property values. heightThe height, in px.widthnumberThe width.