API Reference > imodeljs-frontend > Rendering > CanvasDecoration > pick pick MethodOptional Optional method to provide feedback when mouse events occur on this decoration. pick(pt: Readonly<WritableXAndY>): boolean note If this method is not present, no mouse events are directed to this decoration. Parameter Type Description pt Readonly<WritableXAndY> The position of the mouse in the ScreenViewport Returns - boolean true if the mouse is inside this decoration. Last Updated: 11 June, 2024