Lights Out

The player must press the key when the the segment is inside the target zone.

    local success = exports.bl_ui:LightsOut(iterations, config)
  • iterations: number is the amount of iterations the player has to complete.
    • 1 is the default iteration.
  • config: LevelConfig

Example

local success = exports.bl_ui:LightsOut(3, {
    level = 2,
    duration = 5000,
})

Preview

LightsOutExample