Touchable Area
Last updated
Last updated
The Touchable Area handles the basic touch interactions, such as tap, slow tap, multi-tap, hold, press, and release, but only for touches within its defined boundaries. Each type of Touchable Area provides different methods for defining its interaction region, which could be a box, circle, or other shapes.
All Touchable Area types inherit the following base parameters. Depending on the specific type, additional parameters may also be available.
Raycast
: Determines if a raycast is performed at the touched point to detect if another graphic element obstructs the interaction. Use a Layer Mask to filter objects affected by the raycast.
Auto Press
: Enables automatic "press" actions for unregistered fingers that enter the area.
Auto Release
: Enables automatic "release" actions when a registered finger leaves the area.
Multi Touch
: Allows multiple fingers to interact with the control simultaneously.
Each Tactile Control can have its interaction times overridden. By default, timing values are sourced from the Input Settings Asset located at Project Settings > Input System Package > Settings.
Tap Time
: If enabled, uses a custom tap time. Otherwise, uses the default.
Slow Tap Time
: If enabled, uses a custom slow tap time. Otherwise, uses the default.
Multi Tap Delay Time
: If enabled, uses a custom multi tap delay time. Otherwise, uses the default.
Hold Time
: If enabled, uses a custom hold time. Otherwise, uses the default.
Expanding the Touchable Area drawer section activates its Scene View Gizmos, which visually displays the defined interaction area using dotted border lines.
The default Gizmos color is White. However, the color changes to indicate specific states:
• Yellow: The Tactile Control is not interactable. • Red: No Touchscreen device is detected.
These visual cues help quickly identify issues during development.