Man, I have no idea how to create a gauge that reads mouse input.
No need to create such a gauge Bill. Just by adding the red part:
(M:Event) 'LeftDrag' scmp 0 ==
if{
(M:Y) (>L:MousePixel,number)
(M:Y) (L:LEFT GEN MOUSEPOS,number) - 1 * (L:LEFT GEN SELECT_POS,number) + -25 max 25 min (>L:LEFT GEN SELECT_POS,number)
(M:Y) (>L:LEFT GEN MOUSEPOS,number)
}
etc...
in your current snippet, and afterwards reading (L:MousePixel,number) values while you drag the cursor from top to bottom should be enough.
To read those values, you can use whatever gauge in any 2D popup panel of your aircraft that displays a <Text> element, adding something like <String>%((L:MousePixel,number))%!s!<String>.
man.... If only there were classes on this.
Bill, the entire FSDeveloper forum is a big classroom. Indeed there are enough info here related to the stuff posted in this thread, but as you has already noticed, a bit of time needs to be invested in finding a proper solution to each question.
Tom


