pub fn position(ctx: &Context) -> Point2<f32>
👎Deprecated since 0.8.0: Use
ctx.mouse.position
insteadExpand description
Get the current position of the mouse cursor, in pixels.
Complement to set_position()
.
Uses strictly window-only coordinates.