readonly int Object.Frame
Gets the frame number that the object is currently set to. If the object is not currently
assigned a view, this will be 0 (in which case the Graphic property will
hold its sprite number).
This property is read-only. To change the frame, use the animation functions.
Example:
Display("Object oDoor's frame is currently %d.", oDoor.Frame);
will display the oDoor object's current frame number
SeeAlso: Object.Graphic,
Object.Loop,
Object.View
|