Reproduction Steps
- Create a LocalScript that disables player input
- Place the LocalScript in StarterPlayerScripts
- Switch Roblox Studio’s emulator to a touchscreen device
- Enter play mode
- Observe you can still move
A LocalScript for your convenience:
local player = game.Players.LocalPlayer
local PlayerModule = require(player:WaitForChild("PlayerScripts"):WaitForChild("PlayerModule")):GetControls()
repeat
local success, response = pcall(function()
return PlayerModule:Disable()
end)
if not success then
warn(":(")
wait()
end
until success
Expected Behavior
When disabling player controls and emulating a touchscreen device, the emulated player should be unable to move.
Actual Behavior
When disabling player controls and emulating a touchscreen device, the player is still able to move. No errors or warnings are given.
Disabling player controls works properly for any other emulation mode in Roblox Studio and for touchscreen devices in-experience.
Issue Area: Studio
Issue Type: Other
Impact: High
Frequency: Constantly
Date First Experienced: 2022-04-16 00:04:00 (-07:00)
Date Last Experienced: 2022-04-16 00:04:00 (-07:00)