pub fn mouse_position_vec2() -> Vector2
Returns the window-relative mouse x and y position in a Vector2.
Vector2
let pos = mouse_position_vec2(); println!("{}, {}", pos.x, pos.y);