We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Turtle.get_Duration
1 parent 2d74887 commit c7ad57cCopy full SHA for c7ad57c
Types/Turtle/get_Duration.ps1
@@ -3,6 +3,10 @@
3
Gets the duration
4
.DESCRIPTION
5
Gets the default duration of animations and morphs.
6
+
7
+ By default, 4.2 seconds.
8
#>
-if ($this.'.Duration') { return $this.'.Duration'}
-return
9
+if ($null -eq $this.'.Duration') {
10
+ $this | Add-Member NoteProperty '.Duration' ([timespan]::FromSeconds(4.2)) -Force
11
+}
12
+return $this.'.Duration'
0 commit comments