Returns true if the key is currently held down.
Returns true if the key was pressed in the current frame.
Returns true if the key was released in the current frame.
Returns true if the mouse button is currently held down.
Returns true if the mouse button was pressed in the current frame.
Returns true if the mouse button was released in the current frame.
Retrieves information for a specific touch point. The index ranges from 0 to the value returned by TouchCount.
Convenience function that returns the value from GetInputPosition transformed into world space. World space includes the camera transform of the camera closest to the input position. This is the same as TranslateScreenToWorld(world, GetInputPosition()); In 2D setups, the world z coordinate is always set to 0.
Returns true if mouse events are emulated by other input devices, such as touch.
Returns true if the current device produces mouse input.
Returns true if the current device produces touch input responses. This value may not be accurate until a first touch occurs.
Returns the number of currently active touches.
Generated using TypeDoc
Returns the input position in screen pixels. For touch input this is the first touch. For mouse input, it is the mouse position.