mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-29 11:03:48 +01:00
24 lines
507 B
Markdown
24 lines
507 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
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
windowSize(): [number, number];
|
||
|
```
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
\[number, number\]
|
||
|
|
||
|
An array of 2 value containing the window width and height.
|
||
|
|
||
|
## Remarks
|
||
|
|
||
|
RAM cost: 0 GB
|
||
|
|