mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-08 08:43:53 +01:00
24 lines
501 B
Markdown
24 lines
501 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [UserInterface](./bitburner.userinterface.md) > [windowSize](./bitburner.userinterface.windowsize.md)
|
|
|
|
## UserInterface.windowSize() method
|
|
|
|
Get the current window size
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
windowSize(): [number, number];
|
|
```
|
|
**Returns:**
|
|
|
|
\[number, number\]
|
|
|
|
An array of 2 value containing the window width and height.
|
|
|
|
## Remarks
|
|
|
|
RAM cost: 0 GB
|
|
|