cesiumjs-interaction

Installation
SKILL.md

CesiumJS Interaction & Picking

Version baseline: CesiumJS v1.144 (ES module imports, Ion token required).

ScreenSpaceEventHandler

Central class for mouse, touch, and pointer events on the Cesium canvas. Always construct a new ScreenSpaceEventHandler bound to viewer.scene.canvas for interaction logic -- it isolates your listeners from Cesium's default camera/selection handlers and is the idiomatic pattern shown across all recipes below.

import { ScreenSpaceEventHandler, ScreenSpaceEventType,
  KeyboardEventModifier, defined } from "cesium";

let handler = new ScreenSpaceEventHandler(viewer.scene.canvas);
Installs
168
GitHub Stars
178
First Seen
Apr 11, 2026
cesiumjs-interaction — cesiumgs/cesiumjs-skills