[][src]Function tetra::input::get_mouse_x

pub fn get_mouse_x(ctx: &Context) -> f32

Get the X co-ordinate of the mouse.

If the screen is scaled, the returned value will be relative to the original size.