Function crayon::input::mouse_position

source ·
pub fn mouse_position() -> Vector2<f32>
Expand description

Gets the mouse position relative to the lower-left hand corner of the window.