Toggle music play sound

Example showing how to play a music and add controls on the screen to pause it, change the volume or mute the sounds totally.

Features used in this example

GDevelop is a game engine allowing you to make games without coding. It's free, fast and easy to use. Get started now!

The example uses these features:

  • Audio
  • Builtin events
  • Mouse and touch
  • Features for all objects
  • Scene management features
  • Text manipulation
  • Variable features
  • Sprite
  • Text object

Read more about all features and extensions in GDevelop here.

Game creation, made simple

Imagine and publish your games with GDevelop. Bundled with tutorials and examples.