Patches

Gesture

Gesture

A more advanced Interaction patch (see Interaction for more information). Provides translation and velocity as outputs to build interruptible animations (e.g. with Spring Animation).

Gesture

  • Layer
  • Enabled
  • Down
  • Tap
  • Position
  • Velocity
  • Translation

Layer

The layer to check for touch interactions. When no layer is specified, the touches on the whole screen are registered.

Enabled

A boolean that is true when touch detection is on. To disable interactions on this layer, disable it.

Down

A boolean that is true when there is a touch on the layer.

Tap

A pulse that represents the moment a touch has been released from the layer (touch up) as long as the touch is inside of the layer and hasn’t moved.

Position

The position of the touch, relative to the center of the layer’s parent group or device

Velocity

The current velocity of the touch in points per second.

Translation

The translation of the touch relative to where the touch initially started.