此组件由屏幕方块(无论是放置于世界中还是安装与机器人上)提供。
组件名:screen
。
回调函数:
isOn():boolean
turnOn():boolean
true
。turnOff():boolean
true
。getAspectRatio():number, number
getKeyboards():table
setPrecise(enabled:boolean):boolean
设定是否要启用高精度模式(将鼠标事件位置精确到子像素)。isPrecise():boolean
setTouchModeInverted(enabled:boolean):boolean
true
则潜行右键单击才能打开屏幕的GUI)。isTouchModeInverted():boolean
true
则潜行右键单击才能打开屏幕的GUI)。
目录
—-