Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

GestureSettings.Hold

Description

Enable support for the hold gesture.

This represents the user holding down either their finger or the primary button on a controller for longer than the system's hold threshold. This gesture can be used to take a secondary action, such as showing a menu.