Get touch position X for touch point 0 (relative to screen size)
None.
raylib.InitWindow 800, 600, "Touch X Demo" while not raylib.WindowShouldClose raylib.BeginDrawing raylib.ClearBackground color.white x = raylib.GetTouchX raylib.DrawText "Touch X: " + x, 10, 10, 20, color.black raylib.EndDrawing end while raylib.CloseWindow
There was an error while loading. Please reload this page.