Skip to content

MoviePlaying

Narta Xaymar Dirks edited this page Oct 28, 2026 · 8 revisions

Blitz3DBlitzPlusBlitzBasic

MoviePlaying

MoviePlaying:Int32 movie:Int32
Parameter Mode Type Default Description
movie In Int32 required A movie handle from OpenMovie.

Returns: 1 while the movie plays, otherwise 0.

Description

Tells whether a movie is still playing. It becomes 0 when the movie reaches its end, so a loop can run until the movie is over.

Differences

  • Nothing , the same as the original. It becomes 0 once the last picture has been shown and its sound has played, and calling it is what starts a movie that was not drawn yet. Movies do not loop: open the movie again to play it again.
  • A debug build (-d) stops the program when the movie does not exist, for example the 0 of a movie that failed to open, other builds ignore the command, see Debug handle checks.

Related Commands

CloseMovie, DrawMovie, GetMovieTexture 〔BlitzLLVM〕, MovieHeight, MovieLength 〔BlitzLLVM〕, MoviePosition 〔BlitzLLVM〕, MovieVolume 〔BlitzLLVM〕, MovieWidth

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally