API Reference > imodeljs-frontend > SelectionSet > SelectionTool > filterHit filterHit Method Invoked to allow tools to filter which elements can be located. filterHit(hit: HitDetail, out?: LocateResponse): Promise<LocateFilterStatus> Parameter Type Description hit HitDetail out LocateResponse Returns - Promise<LocateFilterStatus> Reject if hit is unacceptable for this tool (fill out response with explanation, if it is defined) Defined in core/frontend/src/tools/SelectTool.ts Line 586 Last Updated: 12 June, 2024