API Reference > imodeljs-frontend > Rendering > CanvasDecoration > pick pick MethodOptional Optional method to provide feedback when mouse events occur on this decoration. pick(pt: XAndY): boolean note If this method is not present, no mouse events are directed to this decoration. Parameter Type Description pt XAndY The position of the mouse in the ScreenViewport Returns - boolean true if the mouse is inside this decoration. Defined in core/frontend/src/render/CanvasDecoration.ts Line 39 Last Updated: 13 June, 2024