TouchPan does not work on touch based device in studio emulator

I’m trying to use the TouchPan event, however I can’t seem to get it to work on the emulator. I don’t have easy access to touch devices, nor do I wanna have to publish the game, open it on my phone, try to tediously open the console on a small screen and read errors/etc.


local UserInputService = game:GetService("UserInputService")

local function Pan(touchPositions, totalTranslation, velocity, state, GPE)


Using any of the touch based emulators (mobile or tablet) cause no result or print. Would be nice to have clicking recognised on touched based devices on the emulator as touch, and not click


Thanks for the report! We’ve filed a ticket to our internal database and we’ll follow up when we have an update for you.


Same issue here with this similar code:
(it works on actual mobile device, but not on the emulator in Roblox Studio)

local ThumbButton = script.Parent
local function onThumbButtonTouchPan(touchPositions, totalTranslation, velocity, state)

Thanks for your help

any news from Roblox about that?? :-/

Issues like this typically take several weeks to months to resolve due to the fact it is hard to prioritize them (there are thousands of medium/low priority issues like this in the backlog if you look at the #bug-reports:studio-bugs category). So probably there is no update since you posted last week.