Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How would i replicate MouseButton1 on Mobile?

Hey there,

I'm wanting to check what device a player is on and then run code based on there input

Script:

	input.InputBegan:Connect(function(input,isTyping)
	if isTyping then
		return
		elseif input.UserInputType == Enum.UserInputType.MouseButton1

What would be the best way to create a similar action for Mobile?

Thanks,

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.