Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 369 Bytes

File metadata and controls

23 lines (12 loc) · 369 Bytes

Swipe(vec3)

Executes when a swipe is detected.

on swipe(out vec3 direction) { }

Parameters

direction

Modifiers: out

Type: vec3

Direction of the swipe (a cardinal direction in the XZ plane).

Remarks

  • If the player holds the finger after swiping, swipe is executed every 15 frames.