ReferenceScripting APIMotionScenemediaPosition
MotionScene.mediaPosition
methodWhere what's playing is now, seconds: from what the desktop last said, on since while it plays.
| Name | mediaPosition |
|---|---|
| Kind | method of MotionScene |
| Called as | scene.mediaPosition(…) |
| As a node | Get Media Position (logic graph) |
| Since | 0.4 |
Syntax
mediaPosition(): numberReturns
number: seconds into the track (0 when nothing plays).
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.