What’s this? #
Touch Region is a virtual input that lets you define a part of the touch interface as a zone for interaction with the user. This region tracts the movement of the user’s finger. Each time the user moves his finger, the delta is calculated and sent. Touch Region also has a joystick mode that works like a conventional joystick but without the thumbstick.
By clicking on a Touch Region, you will see the properties of the control displayed on the right (Details Tab).
Base #
- Start Hidden : If enable, the control will be hidden when interface is added on screen.
- Opacity : Global opacity of virtual input.
- Landscape Center : The center point of the control in landscape mode. It’s relative to screen size (0.0 – 1.0)
- Portrait Center : Same as Landscape center but for portrait position.
The landscape and portrait parameter only show when they match the orientation of the designer surface
Input #
- Joystick Mode : If enabled, Touch Region act like joystick (send input continuously). You must add the Smooth modifier.
- Interaction Size : Interaction size is for touch detection. You can check “Visualize Interaction” to see the interaction zone of each control that you make.
- Touch Region Action : The input action to use with this virtual input. I strongly recommend using the Enhanced Input plugin, but you can also use the classic input system.
Classic input system is now deprecated since UE5.1 by Epic Game
- Delta Threshold : The minimum value of the delta (offset between the position of the finger between each frame) to send an event (input). Leave at 0 to disable this feature.
- Modifier : Used to modify the value of the virtual input. Works like the input modifiers on the Enhanced Input plugin. You’ll be able for example to invert the axes on a Touch Region or invert the value returned.
- Virtual Input Event : You can extend the functionality of this virtual input by creating a new Virtual Input Event class.