timeline markerposition

timeline markerposition

designingberlin
Advocate Advocate
427 Views
1 Reply
Message 1 of 2

timeline markerposition

designingberlin
Advocate
Advocate

Hi,

I want to move the marker in the timeline like this:

 

tl = design.timeline

print(tl.markerPosition)

tl.moveToBeginning

print(tl.markerPosition)

tl.moveToPreviousStep

print(tl.markerPosition)

 

but the code results in the unexpected output:

 

4

4

4

 

so what goes wrong here? any suggestions?

 

Thanks,

Stefan

0 Likes
Accepted solutions (1)
428 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Accepted solution

Hello

1. moveToPreviousStep is a Method (function) - to call it you must use round brackets: moveToPreviousStep()
2. I wonder, first you jump to beginning of the TimeLine and in next step going to the left (moveToPreviousStep()), soo nothing can happend - use movetoNextStep() method/function.

 

Have fun.

Marek

0 Likes