Skip to content

hit element #608

Answered by bbastings
paprophet asked this question in Q&A
Discussion options

You must be logged in to vote

Are you writing a tool? Interactive tools that want identify elements that are under the cursor can do so by setting AccuSnap.enableLocate to true in their tool's onPostInstall.

Have a look at "Writing a PrimitiveTool" in the documentation, the section on "Locate" in particular.
https://www.itwinjs.org/learning/frontend/primitivetools/

If you can provide more detail on exactly how you are doing markup I may have additional recommendations.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pmconne
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants