(スクリーン)
width
画面の横幅を返します
書式
screen.width
文例
monitorWidth = screen.width
上位オブジェクト
screen
説明
画面の横幅を返します。返される値はモニタの解像度(横)になります。
関連
height
サンプル1
サンプル2(Dreamcast用)