Skip to content

格式

typescript
Input.mouseDeltaPosition

所属类: Input

描述

(只读)鼠标或触摸屏在相对于上一帧移动的距离。

参数

参数名类型描述

返回值

类型描述
Vector2移动的距离

代码示例