PICO-8
Guide
Guide Home
Official Manual
Guide Categories
Beginner Friendly Browsing
Audio Colors Commands Controls Editors Getting-started Loops Lua Maps Math Memory Save-export Screen Shapes Sprites System Tables Variables
Official Manual
The Official Manual is provided here for quick access. Our specific guide pages will also direct you to specific relevant sections of the Official Manual.
BREAK
break
Use this keyword to immediately stop and exit a loop.
Example:
for i = 0, 10 do
if i == 5 then
break
end
print ( i )
end
--prints 0 1 2 3 4
597
15 Jun 2023