跳到主要内容

entity_move

实体移动

声明

bool entity_move(EntityIdType entity_id, int x, int y)

参数

参数名描述
entity_id实体id
xx坐标
yy坐标

返回值

是否移动成功

使用方式

返回文档