iTwin / itwinjs-core

Monorepo for iTwin.js Library
https://www.itwinjs.org
MIT License
591 stars 211 forks source link

Check BeBuutonEvent point is valid or not #5901

Open abhijitpatil181171 opened 1 year ago

abhijitpatil181171 commented 1 year ago

how to check point coming from BeButtonEvent is from given imodel or not?


⚠ Do not edit this section. It is required for imodeljs.github.io ➟ GitHub issue linking

pmconne commented 1 year ago

if (ev.viewport?.iModel === myIModel)

If further help is needed please explain what you are trying to accomplish.