Touch
Add this in your code:
#include <engine/inputs/input_system.h>
Description
This class stores information of finger on a touchscreen.
Variables
Name | Type | Description |
---|---|---|
position | Vector2Int | Actual position in pixel of the finger |
startPosition | Vector2Int | Start position in pixel of the finger |
fingerId | int | Id of the finger |