Thread:Primexit/@comment-25261936-20140829152850/@comment-25261936-20140901185745

I also need some help with

Challenge: Story teller in advance JS: Games and Visuals
im on step two and this is my code.

var scene = 0;

mouseClicked = function { var currentScene = scene+=1; };

draw = function { if(scene === 0) { background(255, 0, 225); fill(0, 234, 255); text("Once upon a time", 124, 14, 26, 39); } else if (scene === 1) { background(43, 0, 255); text("There lived a boy", 10, 10, 20, 20); } else if (scene === 2) { background(255, 0, 0); text("then he became a king", 10, 10, 20, 20); } };

Can u look at it and tell me what i did wrong. Thank You.