API Reference > imodeljs-frontend > Tools > InteractiveTool > 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/Tool.ts Line 631 Last Updated: 12 June, 2024