MohoView:PickShape(where, noHigherThan, pickWidth)

Version added: before 9.5

Arguments:

Name Type Description Default Ver
where Point Pixel location on the screen < 9.5
noHigherThan int32 Id of the highest shape to pick (to allow picking lower, hidden shapes), -1 to ignore this option -1 < 9.5
pickWidth int32 3 < 9.5

Return value:

int32 id of an M_Shape in the current vector layer
Picks a shape near the given pixel location.
<< Back to MohoView