Scripting
Swipe Gestures
Swipe gestures on the Peakboard Box can be detected and used to enhance user interaction. A designated event is triggered with each swipe gesture, where a corresponding script determines the action to be executed.
Swipe gestures can be recognized in all directions: Left
, Right
, Up
, and Down
. The gesture is defined by the direction in which the finger moves.
Creating an Event
To create a swipe gesture event, add a new global event in the Package Explorer under Scripts. Right-click to open a context menu and select either a Swipe up
, Swipe down
, Swipe left
, or Swipe right
event.
After creating the event, define the script that will be executed when a swipe gesture is detected.
Example of Swipe Gesture Application
A common application for swipe gestures is navigating to different screens. Swipe gestures allow users to seamlessly switch between screens. For more information on navigating between screens using scripts, click here.