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