API Reference > imodeljs-markup > MarkupTools > SelectTool > onModifierKeyTransition onModifierKeyTransition Method called when a modifier key is pressed or released. Updates stretch handles, if present onModifierKeyTransition(_wentDown: boolean, modifier: BeModifierKeys, _event: KeyboardEvent): Promise<EventHandled> Parameter Type Description _wentDown boolean modifier BeModifierKeys _event KeyboardEvent Returns - Promise<EventHandled> Defined in core/markup/src/SelectTool.ts Line 739 Last Updated: 13 June, 2024