Get touch point identifier for given index
raylib.InitWindow 800, 600, "Touch ID Demo" while not raylib.WindowShouldClose raylib.BeginDrawing raylib.ClearBackground color.white n = raylib.GetTouchPointCount for i in range(0, n - 1) id = raylib.GetTouchPointId(i) pos = raylib.GetTouchPosition(i) raylib.DrawText "ID " + id + ": " + pos[0] + "," + pos[1], 10, 10 + i * 24, 20, color.black end for raylib.EndDrawing end while raylib.CloseWindow
There was an error while loading. Please reload this page.