summaryrefslogtreecommitdiff
path: root/meta/3rd/love2d/library/love.touch.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/3rd/love2d/library/love.touch.lua')
-rw-r--r--meta/3rd/love2d/library/love.touch.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/3rd/love2d/library/love.touch.lua b/meta/3rd/love2d/library/love.touch.lua
index e36744e3..793eb5ac 100644
--- a/meta/3rd/love2d/library/love.touch.lua
+++ b/meta/3rd/love2d/library/love.touch.lua
@@ -10,6 +10,8 @@ love.touch = {}
---Gets the current position of the specified touch-press, in pixels.
---
---@param id lightuserdata # The identifier of the touch-press. Use love.touch.getTouches, love.touchpressed, or love.touchmoved to obtain touch id values.
+---@return number x # The position along the x-axis of the touch-press inside the window, in pixels.
+---@return number y # The position along the y-axis of the touch-press inside the window, in pixels.
function love.touch.getPosition(id) end
---