Using Virtual Joysticks on a PC game

Hi!

Quick question, I want to use the Virtual Joysticks on a standard PC game. I’m going to deploy a game demo to the Microsoft Surface 4 Pro, which albeit being a tablet uses Windows 10 (so it’s recognised as a PC).

The problem I’m facing is that I don’t know how to do that. In my level blueprint I’ve just dragged a pin from the Event Begin Play and joined it with the Activate Touch Interface node, but as soon as I test the game in a new editor window the virtual joysticks don’t show up - but they do if I just click to play on the selected view port.

Any help on this one?

Cheers!

Go to ProjectSetting → Engine/Input → Mobile → Always Show Touch Interface(Tick on)

This will working in PC with TouchScreen. if you want use mouse to test the virtual joystick, also tick on the [Use Mouse for Touch]