作者:小破皮2011_292 | 来源:互联网 | 2023-01-01 19:48
If the mouse is dragged in x axis then object should move in x axis If the mouse is dragged in y axis then object should move in y axis Object should not move diagonally
如果在x轴上拖动鼠标,则对象应在x轴上移动如果在y轴上拖动鼠标,则对象应在y轴上移动对象不应在对角线上移动
2 个解决方案