val position : unit -> OgamlMath.Vector2i.t
Returns the position of the cursor relatively to the screen.
See : OgamlMath.Vector2i
See : OgamlMath.Vector2i
This module allows real-time access to the mouse, to check if a button is currently pressed for example.
val position : unit -> OgamlMath.Vector2i.t
val relative_position : Window.t -> OgamlMath.Vector2i.t
val set_position : OgamlMath.Vector2i.t -> unit
val set_relative_position : Window.t -> OgamlMath.Vector2i.t -> unit
val is_pressed : OgamlCore.Button.t -> bool