# Swipe :::{list-table} * - **Inherits** - [](/trigger) * - **Finger count range** - 1-4 * - **Type** - Motion trigger (delta based on distance) ::: ## Description Performed by moving all fingers in the same direction (left, right, up, down). The direction is determined in the first few input events, making it possible to use ``on: begin`` and ``on: update`` actions. If complex shapes or diagonal motion is required, use [](stroke) instead. Swipe triggers are not compatible with stroke triggers, only one type may be active at a time. ## Properties :::{list-table} :header-rows: 1 * - Property - Type - Description * - **direction** - *enum(left, right, up, down, left_right, up_down, any)* - ``any``, ``left_right`` and ``up_down`` allow multiple directions. ``any`` will not work well with action intervals, as they only accept a single value, not two (x and y). :::