mouseInput.md 514 B

KeybMouseoard input

You can find this sample in the tutorial project: Scenes -> Basics -> Mouse input

Explanation

This C# basics tutorial covers how to handle mouse input. We can check for the existance of a mouse and then we can use various methods to check if a mouse buttons are clicked, held down or released. We can also for the mouse wheel being scrolled and clicked.

Delta time

Code

[!code-csharpEntity]