Skip to content

class_input

reduz edited this page Feb 23, 2014 · 11 revisions

Input

Inherits: Object\n\n

Brief Description

Member Functions

Numeric Constants

  • MOUSE_MODE_VISIBLE = 0
  • MOUSE_MODE_HIDDEN = 1
  • MOUSE_MODE_CAPTURED = 2

Member Function Description

  • Vector2 get_mouse_pos ( ) const \ Return the global, unscaled, screen pointer coordinates. If the 2D viewport has been scaled, it may not work well with camera or controls.

Clone this wiki locally