Methods
Records a press and returns its place in the sequence, starting at 1.
| Name | Type | Default | Description |
|---|---|---|---|
x |
number |
horizontal position of the press; any space, as long as it is the same throughout. |
|
y |
number |
vertical position of the press. |
|
touch |
boolean | false |
whether it is a finger, which gets a wider spot and a shorter window. |
now |
time of the press, in milliseconds. |
Returns:
| Type | Description |
|---|---|
| number |