stopObject
Shared
Stops an object's movement wherever it is.
bool stopObject(element object)
Parameters
| Name | Type | Description |
|---|---|---|
| object | element | The object. It may also be a parent element: every object below it stops. |
Returns
true if the element given is an object.
Example
addCommandHandler("stopgate", function()
stopObject(gate)
end)