Files

19 lines
448 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# KlonlanmaLal.js — isOwnerMoving() (satır 521)
[← KlonlanmaLal.js](index.md) · [← Master](../../wiki.md)
```javascript
function isOwnerMoving(owner) {
try {
var m = owner.getMotion();
var dx = Number(m.x);
var dy = Number(m.y);
var dz = Number(m.z);
return (dx * dx + dy * dy + dz * dz) > 0.0009 || owner.isSprinting();
} catch (e) {
return true;
}
}
```