MATLAB Answers


Why is eventData.HitObject / WindowMous​eData.HitO​bject not listed in properties?

Asked by Johannes on 10 Feb 2018
Somewhere on the web I found out, that I can use eventData.HitObject / WindowMouseData.HitObject to identify which object has been clicked. I use it a lot and love this feature. However, when you disp eventData it just displays the following:
WindowMouseData with properties:
Source: [1×1 Figure]
EventName: 'WindowMousePress'
Where is my .HitObject hidden? Is there something else inside eventData that I could use? How can I explore eventData without any documentation?
Thanks in advance!


Sign in to comment.

0 Answers