Skip to content

Gestures

Spark supports 8-directional swipe gestures during gameplay that can trigger Ren’Py actions.

SettingUse Ren’Py Gestures
DefaultOff

Master toggle for the gesture system.

SettingOverride All Gestures
DefaultOn

When enabled, Spark’s gesture settings override any gesture configuration the game itself may define.

You can assign an action to each of the 8 swipe directions:

DirectionDefaultAvailable Actions
North (↑)NoneMain Menu, Rollback, Toggle Skip, Hide Windows
North-East (↗)NoneMain Menu, Rollback, Toggle Skip, Hide Windows
East (→)NoneMain Menu, Rollback, Toggle Skip, Hide Windows
South-East (↘)NoneMain Menu, Rollback, Toggle Skip, Hide Windows
South (↓)NoneMain Menu, Rollback, Toggle Skip, Hide Windows
South-West (↙)NoneMain Menu, Rollback, Toggle Skip, Hide Windows
West (←)NoneMain Menu, Rollback, Toggle Skip, Hide Windows
North-West (↖)NoneMain Menu, Rollback, Toggle Skip, Hide Windows
ActionRen’Py CommandDescription
NoneNo action
Main Menugame_menuOpens the in-game menu (save/load/settings)
RollbackrollbackGoes back one dialogue step
Toggle Skiptoggle_skipStarts or stops text skipping
Hide Windowshide_windowsHides the dialogue window
  • Gestures work well for one-handed play on iPhone
  • Rollback on swipe left is a popular configuration
  • Main Menu on swipe down mimics many games’ built-in gesture
  • Be careful with gestures near screen edges, as iOS system gestures may interfere

For more details on how Ren’Py’s gesture system works, see the official Ren’Py gesture documentation.