FANDOM



This command will return the current width of the specified animation.

Syntax
Return Integer=ANIMATION WIDTH(Animation Number)
Parameters
Animation Number

Integer
This value specifies the animation number, between 1 and 32

Returns

This value is the width of the default animation when drawn to the screen

Description

If you have resized the animation when playing or placing then the width of the modified animation will be returned.

Example Code
LOAD ANIMATION "video.avi",1

PRINT ANIMATION WIDTH(1)

WAIT KEY
Community content is available under CC-BY-SA unless otherwise noted.