How can I get a mobile moving stick determination?

image

UserInputService.InputBegan:Connect(function(input, gameProcessed)
	if gameProcessed then
		return nil
	end
	print(`InputBegan {input.KeyCode.Name}`)
	self.isDragging = true
	self.lastMousePosition = UserInputService:GetMouseLocation()
end)

Unknown” is output, so input.KeyCode cannot be used to determine if.

1 Like

You could use the Humanoids MoveDirection property to see if they’re walking in any shape or form:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.