Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Input.simulateMouseWithTouches

Switch to Manual
public static var simulateMouseWithTouches: bool;

Description

Enables/Disables mouse simulation with touches. By default this option is enabled.

If enabled, up to three concurrent touches are translated to state on the respective mouse buttons (example: a two-finger tap will be equal to a right-button mouse click).