Create a floating bubble

Last updated: January 19, 2025

This object that we will create, can made into an amazing popping bubbles game, or a great entourage!

  1. Let's create a ball under the plus (New part tool) menu - select a ball
  2. Under the cogwheel menu, change the material to Forcefield, then go into the bucket tool and colour it with your desired colour by selecting a colour and then the object.
  3. Open the code builder (Menu button <>) and then "code builder" on a pop-up
  4. Then create an Event - "Repeat every (Change number to 1) seconds"
  5. Then create a Motion - "Change position in plot *(By) *
  6. Then in Maths select "Pick random from (-0.25 to 2)
  7. Drag the "Pick random" icon into the Y: space

Your code should look like this! Click Save icon and then Play!

Enjoy your Bubbly world!

Was this article helpful?

Thanks for your feedback!