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 markup/src/SelectTool.ts Line 745 Last Updated: 11 June, 2024