Skip to content

ScreenSpaceEvent

ScreenSpaceEvent is an event callback for mouse or touch interactions.

See also: ScreenSpaceEventHandler#setInputAction

Only inside ScreenSpaceEventHandler.

PropertyTypeDescription
action((e: { position: Cartesian2; } | { startPosition: Cartesian2; endPosition: Cartesian2; }) => void) | undefinedIf empty, the event will be removed even if there is the default event.
modifierKeyboardEventModifier | undefined
typeScreenSpaceEventType