Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to get the coordinates of the mouse click on the model presentation?

0
Posted

How to get the coordinates of the mouse click on the model presentation?

0

Please have a look at the given demo model. This model catches (and displays) the mouse coordinates when the user clicks on the presentation at the model runtime. The implementation is the following: a rectangle is drawn on the diagram. When the user clicks on the rectangle, the code of its On click dynamic parameter is executed. The mouse coordinates are available there as clickx and clicky.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123