b2dMovieWidth

Category: 2D Overlay

Syntax:

b2dMovieWidth:Int(handle:Int)


Parameters

Returns

Width in pixels



Summary

The width of the movie's frames in pixels, known as soon as it has loaded. Returns 0 for a handle that is not a movie.

View detailed documentation online



Example
Print b2dMovieWidth(movie)

See examples/Runtime/31 - Movies.


BambooBasic © 2026 Michael Denathorn