0

So me and a friend are working a project out of boredom and we are having trouble figuring out how to make a background.

Can somebody help?

Md. Suman Kabir
  • 5,243
  • 5
  • 25
  • 43

1 Answers1

0

You can use:

kaboom({ background: [0, 0, 0] })

to change the background color. [0, 0, 0] is the RGB code for black so the background would be black.

If you wanted the background to be red you would use:

kaboom({ background: [255, 0, 0] })

Hope this helped!