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

ScreenPoint

Defined in: client/api.d.ts:1357

Where a world point lands on screen, in the pixels Web views are placed in.

onScreen: boolean

Defined in: client/api.d.ts:1371

Whether the point is inside the view. One past an edge keeps its coordinates with this false.


x: number

Defined in: client/api.d.ts:1361

Pixels from the left edge of the window’s client area.


y: number

Defined in: client/api.d.ts:1366

Pixels from the top edge of the window’s client area.