Description

Indicates whether a sequence is playing, and if so in which direction.

Property type

A Long value.  

[out, retval]

Syntax

object.SequenceDirection

The SequenceDirection Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McView.

Remarks

If the sequence playback is paused, then SequenceDirection is 0, otherwise if the direction is forward it is +1 or +2 and if the direction is backwards it is -1 or -2.

The values will be plus or minus 2 if the sequence is actually playing. If the sequence is in a hold state (as placed by a call to SequenceHoldState) but will resume playing either forward or backward when SequenceResumeState is called, then the values plus or minus 1 are returned.