MC-Basic:element.CURRENTTIME

From SoftMC-Wiki
Revision as of 10:29, 26 June 2017 by Itay (talk | contribs) (new page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Language: English  • 中文(简体)‎

Returns the total time of the currently executing motion. Values:

-1 = No motion active

-2 = Not applicable (PrfType = 0 or 1)

> 0 = Current time of running motion


NOTE-Info.svgNOTE
Note that in case of blending the TotalTime/CurrentTime of the first motion of the blending pair is returned! Once the blending ceased (only the second motion is executing, i.e. the first movement finished) the time values of the second motion are returned.

Short form

element.Ctime

Syntax

?<element>Ctime

Availability

Versions Since Version 4.5.25 and higher

Type

Long

Range

-2…MaxInt

Units

milliseconds

Scope

Task, terminal

Limitations

Read-only

Examples

Axis
?A1.currenttime

Group
?G1.currenttime