screenWidth

現在のスクリーンの幅を返します。

文法:
variable = screenWidth

用例:
print screenWidth

screenHeight コマンドを参照してください。