b2dStopMovie

Category: 2D Overlay

Syntax:

b2dStopMovie:Void(handle:Int)


Parameters

Returns

Void



Summary

Stops the movie and its sound and rewinds it to the beginning, so the next b2dPlayMovie starts over. Also clears the finished state of a movie that has played to its end. The last frame shown stays in place, so drawing the movie afterwards still shows it.

View detailed documentation online



Example
b2dStopMovie(movie)

See examples/Runtime/31 - Movies.


BambooBasic © 2026 Michael Denathorn