VeeLang

What's new

Everything new in VeeLang, newest first. Some changes have a news post that tells you more.

Almost always, the programs you've already made keep working. πŸ‘ When we have to change something, it's listed under Changed, with what to write instead.

4 November 2026

New ✨

  • A line can turn corners: draw lines hook from 0, 0 to 0, 40 to 30, 40, with as many points as you like. It is one line, so the corners are joined even when it is thick, and starthead and endhead go at its very start and end: having endhead "arrow".
  • In a recipe, a when can be followed by otherwise { }, for any other value of the setting: when tail is "yes" { … } otherwise { }. An optional part no longer needs an empty block to switch it off, and the setting can then have any value.
  • A recipe's setting can hold a bunch, for a recipe that draws as many things as it is given. Start it as empty, make the bunch on a line of its own, and give its name: shape stack having heights empty { … }, then bunch tall = 1, 3, 2 and draw stack s at 40, 0 having heights tall. The recipe reads it like any bunch, heights[n] and heights.count.

3 November 2026

New ✨

  • A position can be written in brackets, (200, 100), as well as 200, 100. They mean the same, wherever a position goes: draw circle at (200, 100), move ball to (50, 50), draw line from (0, 0) to (100, 40).
  • A variable can hold a place: home = (60, 100), then draw circle at home, move ball to home, and home.x and home.y for its two numbers. spot = ball.center keeps where the ball is now.
  • Everything a shape can be told to do can also be written the way Python and JavaScript write it: sun.turn(by=90, seconds=3) is turn sun by 90 in 3 seconds. move, turn, grow, shrink, show, hide, beat, wait and stop all work, and a place is (x, y): sun.move(by=(50, 0), seconds=2). Both ways do exactly the same.
  • Animations you made can be played and made the same way: animation hop(height=30, time=1) { }, then hop() or hop(height=50) to play it, hop.stop() to stop it, and if hop.is_playing() { } to ask whether it is running. They mean the same as play hop having height 50, stop hop and if hop is playing.
  • The editor helps you write calls: type a shape's name and a dot, and it lists what the shape can do (turn, move, grow...) and what it has (radius, fill...); pick an action and it writes a call that works. Inside the brackets it lists the names that action takes, and after one of your animations' names it offers stop and is_playing.
  • A recipe can have animations of its own, and each instance can be told to do them: write animation blink { } inside the recipe, then play kim.blink or kim.blink(), stop kim.blink or kim.blink.stop(), and if kim.blink is playing or kim.blink.is_playing(). Every instance has its own, so kim.blink() doesn't make sam blink. A bunch of faces takes the call for each one at once: faces.blink(), and one of them can be told alone: faces[2].blink().
  • A recipe can keep variables of its own: number step = 4 at the top of its body. Each instance has its own, its actions and scripts can read and change it (step = step + 1), and a copy takes the value it has got to.

2 November 2026

New ✨

  • A line's two ends can be changed while the program runs: string.to = 300, 150 moves where it ends, string.from = ball.center moves where it begins, and string.to = @ball.center keeps it ending on ball as it moves. string.to.x = 60 changes just one side of an end. You can read them too, as in string.to.x.

1 November 2026

New ✨

  • when ball is double clicked { } runs when a shape is clicked twice quickly, and for a double tap on a tablet. when any n in nodes is double clicked works for every shape in a bunch.
  • A place from points on can follow its shape: draw circle dot at @spots[3] stays on the same spot of ball as it moves, turns or grows, and a line can end on one with draw line from @spots[1] to @spots[5]. Without the @ the place stays where it was.
  • A shape can be put in a layer while the program runs: add arrow to arrows puts the shape in the layer called arrows, on top of what is already there, and add row to arrows does it for every shape in a bunch. Use it for shapes made when something is clicked, so they can go underneath the others.
  • key delete and key backspace: when key delete is pressed { } runs when the Delete key is pressed, and the same for Backspace.
  • A shape made from a recipe can have its own when handlers inside it, for its own parts: when face is double clicked { label.editable = true } makes a shape's own words typeable when it is double clicked. A double tap on a tablet or a click on the shape then opens the keyboard for them.

Changed πŸ”

  • A drawing that only answers clicks, drags and keys, with nothing that moves by itself, no longer shows Play, Pause and the time in the playground. It is just ready to use. Drawings that move still have them.
  • The playground no longer keeps your computer busy while a drawing is still or moving: it was redrawing its grid and page far more often than it needed to.

31 October 2026

New ✨

  • Two shapes can be compared with is and is not: if row[i] is n is true when they are the same shape, even if other shapes look exactly like it. Use it to find which place in a bunch a clicked shape has, or to check it is not the one you started from.
  • Text you can type in: give a text editable true, and clicking or tapping it opens the keyboard (on a tablet too). The words change as you type, content is what was typed, and Enter counts as pressing the enter key: draw text name at 50, 80 having content "Type your name", editable true. Use it for a label, a name in a game or the answer to a question.
  • when ball is released { } runs when a press that began on ball ends, after dragging it or just clicking it, and if mouse is down { } checks whether the mouse button is held (or a finger is on the drawing). To drop something on a shape, look at what it is touching when it is let go: when ball is released { if ball is touching bin { ball.fill = "gold" } }. when any n in nodes is released works for every shape in a bunch.
  • when the drawing is clicked { } runs when someone clicks or taps the drawing where no shape takes the click, and mouse.at is the place: when the drawing is clicked { draw circle at mouse.at having radius 12 } puts a circle wherever you click. A click on a shape with a when of its own, or on a shape you can drag, still goes to that shape.
  • @ can follow a shape picked from a bunch: draw line from @picked[1].center to @picked[2].center. Click two shapes, add them to a bunch, and a line joins them and follows them when they move. It follows the shapes that were there when the line was drawn, even if the bunch changes later.
  • Animations that take values. Give an animation settings after having, each with the value it has when nobody says, and give them new values when you play it: animation hop having height 30 { move ball by 0, -height in 1 second }, then play hop for a small hop and play hop having height 80 for a big one. Settings are numbers or words in quotes, you can give some and leave the rest, and two plays at the same time each keep their own values. It is the same having that shapes use, so there is no need to make a new animation for every size.
  • repeat until and repeat while: a loop that goes on until something is true, instead of a number of times. repeat until score > 9 { … } and repeat while score < 10 { … } mean the same thing, so say it whichever way sounds right. The check is made before each time round, so a loop that is already done doesn't run at all, and you can use anything if takes, like ball is touching wall or spin is playing. A loop with wait or in 1 second inside can go on for as long as it needs; one that takes no time and never ends stops with a message after 10000 times round.
  • every and none: every c in coins is touching ball is true only when all of the coins are touching the ball (an empty bunch counts as false: no coins, none touching). any joins the loops too: repeat until any c in coins is touching ball { wait 0.1 seconds } waits for a coin to touch the ball, and then c is that coin on the lines after the loop. While the loop is still waiting, c is none: nothing. Check with if c is not none { … }, because using something of none, like c.fill, is a mistake your program tells you about.

Changed πŸ”

  • if any c in coins is touching ball { … } now runs its lines once, for the first coin that touches, not once for every coin that touches. Reading "any coin is touching" as one coin is what most people expect. To do something for every coin that touches, write repeat for each c in coins { if c is touching ball { … } }.

30 October 2026

New ✨

  • sin and cos work out the sine and cosine of an angle in degrees: draw circle tip at 100 + 20 * cos 30, 100 + 20 * sin 30. Put sums in brackets, like cos (360 / sides * n), to place things round a circle, and sin @a.x follows a.x as it changes.
  • Name a shape the way you would say it: draw circle named sun at 100, 100, draw circle called sun at 100, 100, or as a setting, draw circle at 100, 100 having name sun, radius 30, as well as draw circle sun at 100, 100. It works for shapes you draw later, parts inside a shape, polygons, lines, arcs and shapes made from your own recipes, and animation called spin { } and bunch named garden can be said the same way. A name is a word without quotes, a shape keeps the name it is given, and named and called are now VeeLang's own words, so they can't be used as names.

Changed πŸ”

  • A shape recipe can no longer have a setting called glow, borderglow or glowsize, because every shape already has those, and the whole shape would glow as well as the parts. Call the setting something else, like shine.

29 October 2026

New ✨

  • Settings that hold a shape: a recipe can take another recipe as a setting, like shape row having times 3, inner dot { … }, and a drawing chooses it with draw row r at 20, 60 having inner box, times 4. Give the shape settings of its own in brackets, having inner (box having size 20), or make it first without drawing it and use its name. It works for shapes inside shapes, to any depth.
  • Any word can be a recipe's setting name, including times and layer.
  • In a recipe, each when block for a different value of a setting can make a part with the same name.

Changed πŸ”

  • A shape with parts keeps its line thickness when it grows or shrinks. thickness 4 used to look 8 thick after grow kim to 2 and 2 thick after shrink kim to 0.5; now it is 4 at any size. To get thicker lines on a bigger shape, make its thickness bigger too.

22 October 2026

New ✨

  • See-through shapes: opacity goes from 0 (you can't see it) to 1 (solid), like draw circle ghost at 100, 100 having fill "white", opacity 0.5, and ghost.opacity = 0.2 in 1 second fades it part of the way. A shape with parts fades as one picture. hide and show still work, and show brings a shape back as see-through as it was.

Changed πŸ”

  • In the playground, the shape you point at or click now gets four corners and a faint box around it, instead of a coloured shadow. It's easier to see on pale shapes and thin lines, and a shape's own glow stays on while it's marked.

21 October 2026

New ✨

  • A ready-made tick: draw tick at 100, 100 having fill "green", with size for how big it is and width for how thick its strokes are. For a wrong answer, turn a cross into an x: draw cross at 200, 100 having angle 45, fill "red".

  • Words without quotes: a line's heads and an arc's curve can be written endhead arrow, starthead dot or curve big, and a misspelt word gets a "Did you mean…?". Quotes still work.

  • Words over several lines: press Enter inside the quotes of a text's content, and each line of the code is a line in the drawing, 1.2 times the size apart. If a closing quote is missing, the mistake now says where the text starts.

  • Text in a box: give a text a width and its words wrap to fit, like draw text at 50, 50 having width 200, content "A long sentence wraps by itself.". With a width, at is the box's top-left corner, like a rectangle's, and a length makes it taller. You can read its width, length and corners, and when the width changes over time the words move between lines as it grows.

  • align puts a text's words where you want them: align center, align bottom right or align middle center, with one word across (left, center or right) and one down (top, middle or bottom) in its box. Without a box, align center centres the lines under each other.

  • Turn or grow a shape around any place: turn door by 90 around door.topLeft in 1 second swings a door on its corner, and turn earth by 360 around sun.center in 4 seconds sends a planet round its sun. It works with grow and shrink too, and the shape really moves: earth.center is where it has got to.

  • Read and change the canvas: paper.width, paper.length and paper.fill work like a shape's properties, so draw circle at paper.width / 2, 50 is always in the middle, and paper.length = 500 in 1 second makes room at the bottom as the program runs. The playground shows the whole canvas as it grows.

Changed πŸ”

  • A triangle's or polygon's center is now the middle of the box around it, and that's what it turns and grows around. It used to be the average of its corners, which could be far from where it looks. A polygon drawn with sides still turns around the point it was drawn around.

19 October 2026

New ✨

  • Dashed and dotted outlines: write dashed or dotted before a shape's type, like draw dashed line from 20, 20 to 200, 20 or dotted circle ring at 100, 100. It works on lines, arcs and every shape with an outline, and the dashes grow with thickness.
  • Arrowheads: draw line from 20, 60 to 200, 60 having endhead "arrow". A line or an arc can have "arrow", "open" or "dot" at its start (starthead) and its end (endhead), and on an arc the head follows the curve.
  • Place a shape by its middle: draw text having center box.center, content "E" puts the middle of the words in the middle of the box, exactly, however wide the letters are. It works on every shape with an at, like draw rectangle bar having center 300, 100 or bar.center = 200, 50. The shape stays centred there when it grows or its words change, and move bar to 100, 100 puts its middle there.
  • Rounding: round 2.5 is 3, round down (7 / 3) is 2 and round up (7 / 3) is 3. round rounds the number straight after it, so put maths in brackets. Where VeeLang needs a whole number, like repeat 0.7 / 0.1 times, maths that the computer works out a hair away from one (6.999999…) now counts as it.

Changed πŸ”

  • label.center on words is now the middle of the words. It used to be the same place as label.at, where the words start, so write label.at for that.

18 October 2026

New ✨

  • Ready-made shapes: draw star, draw heart, draw arrow, draw cross and draw diamond. draw star s at 100, 100 having points 6, fill "gold" chooses how many tips, and inner how thin it is. They're recipes written in VeeLang, so they turn, grow and change like any shape, and a recipe of your own with the same name still wins.
  • 12 points on rim gives 12 places spread evenly round a shape, starting at 12 o'clock and going clockwise, like the numbers on a clock: repeat for each p in 12 points on rim { draw circle at p having radius 5 }. It works on any shape with an outline, even a hidden one.
  • A polygon can take its corners from a bunch of places: draw polygon from 5 points on rim.

17 October 2026

New ✨

  • Patterns: fill ball with dot fills a shape with copies of any other shape, in rows, kept inside its outline. having gap 6, angle 30, backcolor "pink" spaces them out, turns the rows and colours what's behind them. A line makes stripes, your own recipe makes flowers, and a filled shape can be copied too.
  • ball.fill.gap, ball.fill.angle and ball.fill.backcolor read and change a pattern, at once or over time, like any other property. Changing the copied shape changes every copy at once.
  • colour works wherever color does: colour "red", ball.colour = "blue".

16 October 2026

New ✨

  • Shapes can glow: glow "gold" gives a shape a soft light all round it, and borderglow "deepskyblue" makes its outline glow like a neon sign. glowsize 60 says how far the light reaches. A shape with parts glows as a whole, and the light doesn't count when shapes touch.
  • beat heart makes a shape beat once, like a heart: it grows a little and comes back. beat heart 3 times by 1.5 in 2 seconds chooses how many, how big and how long, and beat lamp.glow makes its light beat instead. Put it in a forever with a wait to keep it beating.
  • none means no colour, without quotes: fill none leaves a shape see-through inside, color none takes away its outline, and lamp.glow = none turns a glow off.

15 October 2026

New ✨

  • The mouse: mouse.x, mouse.y and mouse.at say where it is, so draw circle dot at @mouse.at follows it around. if mouse is over ball { } checks whether it is over a shape right now, and mouse is over the drawing whether it is on the drawing at all.
  • when takes any check: when mouse is over ball { } runs each time the mouse moves onto the ball, when score > 10 { } the moment the score passes 10, and when ball is touching wall { } works too. It runs once each time the check turns true.
  • Shapes you can drag: draggable true lets you drag a shape with the mouse, or a finger on a tablet. What follows it comes along, and when ball touches goal { } runs when you drop it in. ball.draggable = false stops it.
  • On a tablet or phone, pinch the drawing with two fingers to zoom it in the playground; one finger still scrolls the page. A finger can't hover, so mouse is over is only for a mouse.
  • A code editor made for fingers: on a tablet or phone, the playground's code now selects, copies and pastes the way your device always does, with big buttons on the number slider. The πŸ‘† / πŸ–±οΈ button above the code switches between it and the editor made for a mouse.

13 October 2026

New ✨

  • Shapes can bump into each other: if ball is touching wall { } checks whether two shapes touch right now, and when ball touches coin { } runs each time they start touching, so you can stop at walls, collect coins and score points. Borders count, every shape is solid, and a shape with parts touches with all of them (or name one, like face.nose). The new tutorial, Bumping into Things, shows how.
  • Bunches: keep lots of things together under one name. bunch colors = "red", "orange", "gold" makes one (list works too), colors.count counts them and colors[2] (or item 2 of colors) picks one: the first is item 1. Write add to balloons after a loop's } (or any block) to keep every shape it makes, then change them all at once with balloons.fill = "pink" or move balloons by 0, -100 in 2 seconds, go through them with repeat for each b in balloons { }, take one out with remove, and react to any of them with when any b in balloons is clicked { } or if any c in coins is touching ball { }. play animation { … } add to growing keeps animations too, so a click can stop one. The new tutorial, Keeping Things Together, shows how.

12 October 2026

New ✨

  • Random numbers: random 1 to 6 picks a number, like rolling a dice, anywhere a number goes. Scatter stars with at random 20 to 780, random 20 to 580, or wait a surprise time with wait random 1 to 3 seconds. The picture keeps its numbers while you type; a drawing that moves gets new ones on Restart, and any drawing when you reload the page.
  • Play with the keyboard: if key rightarrow is down { } steers while you hold a key, and when key space is pressed { } runs each time you press one. A recipe's setting can hold a key, so two players can share one keyboard. Click the drawing to give it the keys; the ⌨️ shows where they go.

11 October 2026

New ✨

  • A shape's { } and a recipe can take time and listen for clicks: a face can blink by itself with a forever inside its recipe, and when eye is clicked { } can go inside it, using the part's own name. Every face you draw gets its own blink and its own clicks, and a copy blinks in step with the one it was copied from.
  • Numbers can go in text: "Score: " + score joins words and a number with +, and content score shows the number on its own. Numbers show at most two decimals, so 10 / 3 shows 3.33.

Changed πŸ”

  • A mistake that only shows up while the drawing runs, like dividing by 0, keeps what was drawn before it on the screen, with the message. Before, the drawing was empty.
  • Before you press Play, the drawing shows how it looks at the very start: a forever that first turns a shape red shows it red, and shapes drawn later appear when they're drawn.
  • A when … is clicked inside a repeat starts working when the loop gets to it.
  • Changes that move, turn, grow or shrink the same shape by an amount at the same time add up: a click that turns a box while a forever turns it adds its turn to the forever's. Before, the newer change took over and the box stood still until the older one's line ended.

10 October 2026

Fixed πŸ› οΈ

  • Every VeeLang word works in any capitals: draw, Draw and DRAW all draw. Before, some words worked with any capitals and others only in small letters or with a capital first letter.
  • Text with no closing quote, like "hello, says so on the website and in the playground. Before, the message there was just "I didn't expect this."
  • Changing hidden words with a time, like t.content = "bye" in 1 second, keeps them hidden. Before, they appeared.
  • sun.color = "red" in 1 second on a shape with its own fill changes only its outline, as it does without a time. Before, it changed the fill too.
  • A copy of a shape keeps the fill it was given when you change its color.
  • A shape made from a recipe that starts with nothing drawn, then gets parts in a click, stays behind the shapes drawn after it.
  • In the playground, clicking a shape while it moves works every time.
  • Using a variable above the line that gives it its first value says so, and a misspelt property in a change (c.radiuss = 5) asks "Did you mean 'radius'?".
  • The squiggle under a mistake covers all of it, not just the start.
  • The warning about shapes outside the canvas knows where turned shapes really are.
  • A place written without at, like corner1 50, 10, puts the corner there. Before, it was quietly ignored. A size given two numbers, like radius 50, 10, says it's a mistake instead of using the first.

8 October 2026

New ✨

  • Your drawings can move! Add in 2 seconds to a change, or write move, turn, grow and shrink, wait, forever and together. Give an animation a name and play it or stop it. Read more
  • Click to make things happen: when ball is clicked { ... }. Read more
  • Variables remember things, like how many times you clicked: clicks = clicks + 1. And if ... { } otherwise { } makes choices. Read more
  • show and hide a shape, and turn and grow any shape with angle and scale.
  • canvas and layer work with or without a capital, like every other VeeLang word.
  • A shape can follow another one with @: draw line from 50, 280 to @kite.center keeps the string on the kite, even while it flies. A part can follow another part of its shape too. Read more
  • A shape made from a recipe can change its settings in the animation, slowly with in 2 seconds, or follow another shape: having size @sun.radius * 4. Read more
  • A shape drawn in a click or a loop can use that click's numbers everywhere, even in its parts.
  • New reference pages on learn.veelang.org, with an example for every part of VeeLang.

Changed πŸ”

  • A shape made from a recipe changes only through its settings. Writing sam.eye.fill = "blue" is now a mistake: give the recipe a setting, like eyes "black", and write sam.eyes = "blue". Read more
  • A recipe uses only its own settings and parts, not the other shapes and numbers in your drawing. Give it a setting for what it needs, and set it where you draw it.

Fixed πŸ› οΈ

  • The parts inside a triangle, or a polygon with sides, are measured from the shape, like every other shape's parts. Before, they were measured from the corner of the canvas.
  • A line inside one part of a shape, going to another part, moves with the shape.
  • Using a shape on a line above the one that makes it is a mistake, with a message saying so. Before, VeeLang quietly drew it in the corner.
  • line.at = ... on a line or an arc says it's a mistake (move it with move instead). Before, nothing happened.

6 October 2026

Fixed πŸ› οΈ

  • You can ask a shape where it is: house.at, house.at.x and house.at.y. Before, VeeLang said this was a mistake. Read more