IsObjectMoving
คำอธิบาย
Checks if the given objectid is moving.
Name | Description |
---|---|
objectid | The objectid you want to check if is moving. |
ส่งคืน
1 if the object is moving, 0 if not.
ตัวอย่าง
if (IsObjectMoving(objectid))
{
StopObject(objectid);
}
ฟังก์ชั่นที่เกี่ยวข้องกัน
- MoveObject: Move an object.
- StopObject: Stop an object from moving.
- OnObjectMoved: Called when an object stops moving.