# `ScreenPoint`

> Contract 2.0.0 · package sha256 `a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e` · generated from `configurator-runtime.d.ts` by `services/onsite-scripter/scripts/build-contract-docs.mjs`; edit the source, not this file.

Type · `import type { ScreenPoint } from '@holostep-configurators/runtime-client/contract';` · stable · since 2.0.0 · section 1. Basics

A [`Point2`](Point2.md) in CSS px from the viewer element's top-left corner; y grows downwards. Layout px:
a CSS transform or zoom on the element or an ancestor (a scaled modal) does not scale them, so
[`camera.project`](Camera.project.md), [`camera.ray`](Camera.ray.md), [`input.pick`](Input.pick.md), a pointer event's `at` and 'anchors:moved' all
answer in one frame, the one you position the element's own children in.

Inherited from [`Point2`](Point2.md): [`x`](Point2.x.md), [`y`](Point2.y.md).

## Declaration

```ts
export type ScreenPoint = Point2;
```

## Generic-API test (spec 3.1)

| Rule | Result |
| --- | --- |
| 1. Neutral name | pass: `ScreenPoint` names no product |
| 2. A precedent | not recorded: no ledger row (coverage.json) names this member or its owner |
| 3. Two apps, or labs | pass: 20 apps (fleet cross-check: app-37356bf09f, app-4f16d2f6da, app-4fd23bc869, app-822bb9d6aa, app-8675b3225c, app-b362a81c85, app-b4ae2fce25, app-bcb7ef21da and 12 more) |
| 4. The cheaper fix first | not recorded per member (Appendix B decides it per need) |
