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

ScreenPoint

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

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

onScreen: boolean

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

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:1448

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


y: number

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

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