b2dSetMovieVolume

Category: 2D Overlay

Syntax:

b2dSetMovieVolume:Void(handle:Int, volume:Int)


Parameters

Returns

Void



Summary

Sets the volume of the movie's soundtrack, from 0 to 100; values outside that range are clamped. Takes effect immediately if it is playing, and is remembered for the next play.

View detailed documentation online



Example
b2dSetMovieVolume(movie, volume)

See examples/Runtime/31 - Movies.


BambooBasic © 2026 Michael Denathorn