teichgraf's picture

Mouse coordinates

Hello everyone

First I would like to thank the OpenTK developers for making such a great product. I just used the QuickStart code with the GameWindow and it is so simple and nice. Very great! Thanks a lot!

Back to the topic:
My question is, how can one retrieve the mouse position in client window coordinates?


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture

Mouse.X and Mouse.Y return the position in window coordinates (the docs in 0.9.0 are out of date) :)

teichgraf's picture

It works.
Thanks for the fast reply!