How to prevent selection of drawn elements in a study

gk1101

Member
Joined
Apr 28, 2024
Posts
20
Likes
1
I built a study that draws some lines and boxes and would like to make them non-selectable on click. Anyone knows how to achieve that?
🙏 I am positive it's possible as I have external third-party studies that are able to 'Prevent Selection' of drawn elements. Thanks in advance
 
In case you do not want to get focus on a study on a pointer hit, the Figure contains method should return false to ignore pointer hits.

isVisible method determines whether it is drawn or not (Figures outside visible range should return false for performance, otherwise are still handled although not visible ).
 
Top