Skip to content
KCKingdoms Connected Scripting APIScripting guides and API
Data shapeServer APIGenerated

WorldTraceResult

Defined in: server/api.d.ts:7048

What a trace came back with, and whether it came back at all.

answered: boolean

Defined in: server/api.d.ts:7052

Whether the client ran the trace. False when it has no world loaded, is in another level, did not answer in time, or left.


hit: WorldRayHit | null

Defined in: server/api.d.ts:7062

The nearest thing the ray met, or null when it met nothing and whenever answered is false.


hits: WorldRayHit[]

Defined in: server/api.d.ts:7067

Everything it met, nearest first. One entry at most unless maxHits asked for more; empty whenever answered is false.


reason: string

Defined in: server/api.d.ts:7057

Why it did not answer. Empty when it did.