API Reference › Input › Input.touch_y
method

Input.touch_y

Input.touch_y(index) -> int

The y position of touch point index (0..7) — the vertical companion to Input.touch_x.

Example

program Demo {
  entry {
    Input.set_touch(0, 100, 200, true)
    print(Input.touch_y(0))
  }
}
← All symbols