Added screen_x and screen_y to the Drag component

This commit is contained in:
Roman Silin
2023-12-12 18:28:25 +02:00
parent bdd9efb892
commit aa7e62e3f1
2 changed files with 17 additions and 0 deletions

View File

@@ -394,6 +394,8 @@ function druid__data_list.set_data(self, data) end
---@field touch_start_pos vector3 Touch start position
---@field x number Current touch x position
---@field y number Current touch y position
---@field screen_x number Current touch x screen position
---@field screen_y number Current touch y screen position
local druid__drag = {}
--- The @{Drag} constructor