13 lines
283 B
Markdown
13 lines
283 B
Markdown
# MercanRey1.js — movementScore() (satır 471)
|
||
|
||
[← MercanRey1.js](index.md) · [← Master](../../wiki.md)
|
||
|
||
```javascript
|
||
function movementScore(entity)
|
||
{
|
||
var motion = entity.getMotion();
|
||
|
||
return Math.sqrt(motion.x * motion.x + motion.z * motion.z);
|
||
}
|
||
```
|