b2dFreeMovie

Category: 2D Overlay

Syntax:

b2dFreeMovie:Void(handle:Int)


Parameters

Returns

Void



Summary

Stops the movie if it is playing, and frees it along with its current frame and soundtrack. The handle is no longer valid afterwards; calls made with it do nothing. Movies still loaded when b2dEnd is called are freed automatically.

View detailed documentation online



Example
b2dFreeMovie(movie)

See examples/Runtime/31 - Movies.


BambooBasic © 2026 Michael Denathorn