I have an application which is currently PC/ Windows Standalone, however I need it to be able to work with the touchscreen on a Surface Pro tablet when the same build is run on here. The interaction the user has is that of clicking buttons to open and close windows etc (all buttons use the OnClick() functionality), so any input required would just be simple button taps.

I simply need this to work on a Surface Pro touchscreen display when it is run on there, so mouse clicks to be replaced with taps of the buttons.

I've read many posts on the subject, but many are from Unity 4.6 and nothing conclusive for Unity 5. Many posts I found stated that this feature was introduced for Unity 5, but others suggest it is not supported and third party plugins are needed.

I don't currently have access to a Windows touch screen device, so am unable to do a quick check. I therefore want to make sure it is possible before I purchase a device and commit to the update.

From what I gather, the 'Standalone Input Module' has now replaced the 'Touch Input Module' which apparently had a checkbox to tick if you wanted to have it work in Standalone. As such a checkbox does not exist in the former, I am unsure whether this feature is still supported.

So I would like to know -

  1. Is it supported in Unity 5?

If so -

  1. Does it 'just work' automatically or does extra work need to be done to tell it to use touch screen if it is running on a Windows touch screen device?

Many thanks in advance

  • \$\begingroup\$ The last time I tried this (August), I found multitouch data was correctly detected and available through Input.Touches/GetTouch etc. But I couldn't use multitouch on built-in UI controls/events (they seemed to be locked into mouse emulation mode, so trying to initiate two drag actions would lead to a dragged object following the midpoint of two touches). I was able to hack around this by just writing my own drag handling scripts, but there may be a more elegant solution in configuring the UI input/raycaster/event systems \$\endgroup\$
    – DMGregory
    Sep 29, 2016 at 18:16
  • \$\begingroup\$ @DMGregory Hi, thanks for your prompt response. That's good to know. currently I don't need any multi-touch or any advanced touch control, it is just tapping buttons to open and close images etc. As the Surface Pro is essentially a desktop, I assume it would detect the buttons in a Unity application as clickable automatically? I have a Wacom bamboo tablet which has 'Touch' on it, running the application on my PC and using the Wacom as the mouse. It works fine, although it is essentially working the same as a trackpad on a laptop, but I assume the touch on the SP detects anything clickable? \$\endgroup\$
    Sep 29, 2016 at 19:25
  • \$\begingroup\$ Yes, single-touch works out of the box — the touch works like a mouse press. \$\endgroup\$
    – DMGregory
    Sep 29, 2016 at 19:31

1 Answer 1


Yes it works, as you'd expect. Just install Unity on your tablet and run a demo project.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .