Entity::distSquared
Jump to navigation
Jump to search
Server-Side Function
Function that gets the squared distance between two entities.
JavaScript Syntax
Parameters
- position: Vector3
Syntax
Server-Side
entity.distSquared(entity2.position);