---
title: portalSize
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/videoplayercomponent/portalsize
---

# portalSize

The portal entity size in meters.

## Declaration

```swift
var portalSize: SIMD2<Float> { get set }
```

## Discussion

Discussion This property has the format [width, height]. Defaults to [1.0, 0.5625] to have 16:9 aspect ratio. This is not available for Spatial Videos.
