In the API demo when they do the example of how to draw a colour pallette at the top of the screen: I notice the commands don't work when used inside the draw function. When used inside of draw they showup for a second and disappear. removing the cls() allows them to stay, but I need cls included. What do i need to be doing to get the pallette to stay while using the following within the draw function?
for i=0,10 do
x = x + 6