Kaboom: align objects in a straight line

I am trying to align a set of objects in a straight line in Kaboom JS. Does anyone have any ideas of how I would do this?

Use the pos(x, y) function as a parameter in add(), make the x or y the same.

1 Like