# ctrl+mouseDown event

**URL:** <https://community.cesium.com/t/ctrl-mousedown-event/40183>\
**Category:** CesiumJS\
**Created:** [April 24, 2025, 5:55am UTC](https://community.cesium.com/t/ctrl-mousedown-event/40183 "2025-04-24T05:55:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![11167](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/11167/32/3821_2.png) [@11167](https://community.cesium.com/u/11167)\
**Post date:** [April 24, 2025, 5:55am UTC](https://community.cesium.com/t/ctrl-mousedown-event/40183/1 "2025-04-24T05:55:05Z")

</div>

Function to handle ctrl+mouseDown event?

---

<div class="post-metadata">

**Author:** ![anneg](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/anneg/32/11217_2.png) [@anneg](https://community.cesium.com/u/anneg)\
**Post date:** [April 24, 2025, 10:08am UTC](https://community.cesium.com/t/ctrl-mousedown-event/40183/2 "2025-04-24T10:08:54Z")

</div>

Have you tried this?

> [@onLeftMouseUp event only when Ctrl is held?](https://community.cesium.com/t/onleftmouseup-event-only-when-ctrl-is-held/1102/2):
>
> You can add a callback for ctrl-left mouse up event with: var handler = new Cesium.ScreenSpaceEventHandler(scene.canvas); handler.setInputAction( function (event) { var mousePosition = event.position; // … }, Cesium.ScreenSpaceEventType.LEFT\_UP, Cesium.KeyboardEventModifier.CTRL); Dan
